@flowselections/twinfield-authenticatie-module-15-06-2026 2.0.8 → 2.0.11

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
  };
@@ -11941,6 +11965,36 @@ export type Database = {
11941
11965
  };
11942
11966
  Relationships: [];
11943
11967
  };
11968
+ logistics_cart_archive_log: {
11969
+ Row: {
11970
+ action: string;
11971
+ actor: string | null;
11972
+ cart_id: string;
11973
+ created_at: string;
11974
+ id: string;
11975
+ reason: string | null;
11976
+ snapshot: Json | null;
11977
+ };
11978
+ Insert: {
11979
+ action: string;
11980
+ actor?: string | null;
11981
+ cart_id: string;
11982
+ created_at?: string;
11983
+ id?: string;
11984
+ reason?: string | null;
11985
+ snapshot?: Json | null;
11986
+ };
11987
+ Update: {
11988
+ action?: string;
11989
+ actor?: string | null;
11990
+ cart_id?: string;
11991
+ created_at?: string;
11992
+ id?: string;
11993
+ reason?: string | null;
11994
+ snapshot?: Json | null;
11995
+ };
11996
+ Relationships: [];
11997
+ };
11944
11998
  logistics_cart_barcode: {
11945
11999
  Row: {
11946
12000
  barcode: string;
@@ -12239,6 +12293,33 @@ export type Database = {
12239
12293
  }
12240
12294
  ];
12241
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
+ };
12242
12323
  logistics_document_prints: {
12243
12324
  Row: {
12244
12325
  created_at: string;
@@ -12349,6 +12430,39 @@ export type Database = {
12349
12430
  };
12350
12431
  Relationships: [];
12351
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
+ };
12352
12466
  logistics_floriday_carrier_map: {
12353
12467
  Row: {
12354
12468
  carrier_code: string;
@@ -13289,7 +13403,9 @@ export type Database = {
13289
13403
  id: boolean;
13290
13404
  last_checked: number;
13291
13405
  last_duration_ms: number;
13406
+ last_error: string | null;
13292
13407
  last_mode: string | null;
13408
+ last_report: Json | null;
13293
13409
  last_run_at: string | null;
13294
13410
  last_updated: number;
13295
13411
  last_would_change: number | null;
@@ -13302,7 +13418,9 @@ export type Database = {
13302
13418
  id?: boolean;
13303
13419
  last_checked?: number;
13304
13420
  last_duration_ms?: number;
13421
+ last_error?: string | null;
13305
13422
  last_mode?: string | null;
13423
+ last_report?: Json | null;
13306
13424
  last_run_at?: string | null;
13307
13425
  last_updated?: number;
13308
13426
  last_would_change?: number | null;
@@ -13315,7 +13433,9 @@ export type Database = {
13315
13433
  id?: boolean;
13316
13434
  last_checked?: number;
13317
13435
  last_duration_ms?: number;
13436
+ last_error?: string | null;
13318
13437
  last_mode?: string | null;
13438
+ last_report?: Json | null;
13319
13439
  last_run_at?: string | null;
13320
13440
  last_updated?: number;
13321
13441
  last_would_change?: number | null;
@@ -13736,6 +13856,8 @@ export type Database = {
13736
13856
  handled_at: string | null;
13737
13857
  handled_error: string | null;
13738
13858
  handled_next_at: string | null;
13859
+ herprint_reden: string | null;
13860
+ herprint_requested_at: string | null;
13739
13861
  hoogte_mm: number | null;
13740
13862
  id: string;
13741
13863
  kopieen: number;
@@ -13747,6 +13869,7 @@ export type Database = {
13747
13869
  reden: string | null;
13748
13870
  soort: string;
13749
13871
  status: string;
13872
+ sticker_type: string | null;
13750
13873
  updated_at: string;
13751
13874
  };
13752
13875
  Insert: {
@@ -13759,6 +13882,8 @@ export type Database = {
13759
13882
  handled_at?: string | null;
13760
13883
  handled_error?: string | null;
13761
13884
  handled_next_at?: string | null;
13885
+ herprint_reden?: string | null;
13886
+ herprint_requested_at?: string | null;
13762
13887
  hoogte_mm?: number | null;
13763
13888
  id?: string;
13764
13889
  kopieen?: number;
@@ -13770,6 +13895,7 @@ export type Database = {
13770
13895
  reden?: string | null;
13771
13896
  soort: string;
13772
13897
  status?: string;
13898
+ sticker_type?: string | null;
13773
13899
  updated_at?: string;
13774
13900
  };
13775
13901
  Update: {
@@ -13782,6 +13908,8 @@ export type Database = {
13782
13908
  handled_at?: string | null;
13783
13909
  handled_error?: string | null;
13784
13910
  handled_next_at?: string | null;
13911
+ herprint_reden?: string | null;
13912
+ herprint_requested_at?: string | null;
13785
13913
  hoogte_mm?: number | null;
13786
13914
  id?: string;
13787
13915
  kopieen?: number;
@@ -13793,6 +13921,7 @@ export type Database = {
13793
13921
  reden?: string | null;
13794
13922
  soort?: string;
13795
13923
  status?: string;
13924
+ sticker_type?: string | null;
13796
13925
  updated_at?: string;
13797
13926
  };
13798
13927
  Relationships: [];
@@ -14142,22 +14271,52 @@ export type Database = {
14142
14271
  };
14143
14272
  Relationships: [];
14144
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
+ };
14145
14301
  logistics_time_settings: {
14146
14302
  Row: {
14147
14303
  departure_rule_since: string | null;
14148
14304
  id: boolean;
14305
+ rule_160_since: string | null;
14149
14306
  timezone: string;
14150
14307
  updated_at: string;
14151
14308
  };
14152
14309
  Insert: {
14153
14310
  departure_rule_since?: string | null;
14154
14311
  id?: boolean;
14312
+ rule_160_since?: string | null;
14155
14313
  timezone: string;
14156
14314
  updated_at?: string;
14157
14315
  };
14158
14316
  Update: {
14159
14317
  departure_rule_since?: string | null;
14160
14318
  id?: boolean;
14319
+ rule_160_since?: string | null;
14161
14320
  timezone?: string;
14162
14321
  updated_at?: string;
14163
14322
  };
@@ -16043,10 +16202,12 @@ export type Database = {
16043
16202
  id: string;
16044
16203
  items: Json;
16045
16204
  notes: string | null;
16205
+ order_creation_attempts: number;
16046
16206
  order_creation_error: string | null;
16047
16207
  order_creation_failed_at: string | null;
16048
16208
  order_id: string | null;
16049
16209
  order_number: string | null;
16210
+ order_retry_payload: Json | null;
16050
16211
  recipient_id: string;
16051
16212
  total_amount: number;
16052
16213
  };
@@ -16060,10 +16221,12 @@ export type Database = {
16060
16221
  id?: string;
16061
16222
  items?: Json;
16062
16223
  notes?: string | null;
16224
+ order_creation_attempts?: number;
16063
16225
  order_creation_error?: string | null;
16064
16226
  order_creation_failed_at?: string | null;
16065
16227
  order_id?: string | null;
16066
16228
  order_number?: string | null;
16229
+ order_retry_payload?: Json | null;
16067
16230
  recipient_id: string;
16068
16231
  total_amount?: number;
16069
16232
  };
@@ -16077,10 +16240,12 @@ export type Database = {
16077
16240
  id?: string;
16078
16241
  items?: Json;
16079
16242
  notes?: string | null;
16243
+ order_creation_attempts?: number;
16080
16244
  order_creation_error?: string | null;
16081
16245
  order_creation_failed_at?: string | null;
16082
16246
  order_id?: string | null;
16083
16247
  order_number?: string | null;
16248
+ order_retry_payload?: Json | null;
16084
16249
  recipient_id?: string;
16085
16250
  total_amount?: number;
16086
16251
  };
@@ -16498,6 +16663,9 @@ export type Database = {
16498
16663
  order_carts: {
16499
16664
  Row: {
16500
16665
  algorithm_version: number;
16666
+ archived_at: string | null;
16667
+ archived_by: string | null;
16668
+ archived_reason: string | null;
16501
16669
  buffer_id: string | null;
16502
16670
  carrier_id: string | null;
16503
16671
  carrier_type: string;
@@ -16528,6 +16696,9 @@ export type Database = {
16528
16696
  };
16529
16697
  Insert: {
16530
16698
  algorithm_version?: number;
16699
+ archived_at?: string | null;
16700
+ archived_by?: string | null;
16701
+ archived_reason?: string | null;
16531
16702
  buffer_id?: string | null;
16532
16703
  carrier_id?: string | null;
16533
16704
  carrier_type?: string;
@@ -16558,6 +16729,9 @@ export type Database = {
16558
16729
  };
16559
16730
  Update: {
16560
16731
  algorithm_version?: number;
16732
+ archived_at?: string | null;
16733
+ archived_by?: string | null;
16734
+ archived_reason?: string | null;
16561
16735
  buffer_id?: string | null;
16562
16736
  carrier_id?: string | null;
16563
16737
  carrier_type?: string;
@@ -16731,6 +16905,7 @@ export type Database = {
16731
16905
  Row: {
16732
16906
  administration_code: string | null;
16733
16907
  attempts: number;
16908
+ block_reason: string | null;
16734
16909
  created_at: string;
16735
16910
  error_message: string | null;
16736
16911
  id: string;
@@ -16738,6 +16913,8 @@ export type Database = {
16738
16913
  next_attempt_at: string;
16739
16914
  order_id: string;
16740
16915
  processed_at: string | null;
16916
+ revive_reason: string | null;
16917
+ revived_at: string | null;
16741
16918
  send_error: string | null;
16742
16919
  status: string;
16743
16920
  updated_at: string;
@@ -16745,6 +16922,7 @@ export type Database = {
16745
16922
  Insert: {
16746
16923
  administration_code?: string | null;
16747
16924
  attempts?: number;
16925
+ block_reason?: string | null;
16748
16926
  created_at?: string;
16749
16927
  error_message?: string | null;
16750
16928
  id?: string;
@@ -16752,6 +16930,8 @@ export type Database = {
16752
16930
  next_attempt_at?: string;
16753
16931
  order_id: string;
16754
16932
  processed_at?: string | null;
16933
+ revive_reason?: string | null;
16934
+ revived_at?: string | null;
16755
16935
  send_error?: string | null;
16756
16936
  status?: string;
16757
16937
  updated_at?: string;
@@ -16759,6 +16939,7 @@ export type Database = {
16759
16939
  Update: {
16760
16940
  administration_code?: string | null;
16761
16941
  attempts?: number;
16942
+ block_reason?: string | null;
16762
16943
  created_at?: string;
16763
16944
  error_message?: string | null;
16764
16945
  id?: string;
@@ -16766,6 +16947,8 @@ export type Database = {
16766
16947
  next_attempt_at?: string;
16767
16948
  order_id?: string;
16768
16949
  processed_at?: string | null;
16950
+ revive_reason?: string | null;
16951
+ revived_at?: string | null;
16769
16952
  send_error?: string | null;
16770
16953
  status?: string;
16771
16954
  updated_at?: string;
@@ -19167,18 +19350,21 @@ export type Database = {
19167
19350
  genegeerd_door: string | null;
19168
19351
  genegeerd_op: string;
19169
19352
  id: string;
19353
+ printnode_computer_id: number | null;
19170
19354
  };
19171
19355
  Insert: {
19172
19356
  computer_naam: string;
19173
19357
  genegeerd_door?: string | null;
19174
19358
  genegeerd_op?: string;
19175
19359
  id?: string;
19360
+ printnode_computer_id?: number | null;
19176
19361
  };
19177
19362
  Update: {
19178
19363
  computer_naam?: string;
19179
19364
  genegeerd_door?: string | null;
19180
19365
  genegeerd_op?: string;
19181
19366
  id?: string;
19367
+ printnode_computer_id?: number | null;
19182
19368
  };
19183
19369
  Relationships: [];
19184
19370
  };
@@ -19420,6 +19606,7 @@ export type Database = {
19420
19606
  created_at: string;
19421
19607
  id: string;
19422
19608
  print_plek_id: string;
19609
+ printnode_computer_id: number | null;
19423
19610
  updated_at: string;
19424
19611
  };
19425
19612
  Insert: {
@@ -19427,6 +19614,7 @@ export type Database = {
19427
19614
  created_at?: string;
19428
19615
  id?: string;
19429
19616
  print_plek_id: string;
19617
+ printnode_computer_id?: number | null;
19430
19618
  updated_at?: string;
19431
19619
  };
19432
19620
  Update: {
@@ -19434,6 +19622,7 @@ export type Database = {
19434
19622
  created_at?: string;
19435
19623
  id?: string;
19436
19624
  print_plek_id?: string;
19625
+ printnode_computer_id?: number | null;
19437
19626
  updated_at?: string;
19438
19627
  };
19439
19628
  Relationships: [
@@ -19580,6 +19769,42 @@ export type Database = {
19580
19769
  };
19581
19770
  Relationships: [];
19582
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
+ };
19583
19808
  print_queue_leases: {
19584
19809
  Row: {
19585
19810
  created_at: string;
@@ -28600,6 +28825,10 @@ export type Database = {
28600
28825
  };
28601
28826
  };
28602
28827
  Functions: {
28828
+ _arm_offer_order_retry: {
28829
+ Args: never;
28830
+ Returns: undefined;
28831
+ };
28603
28832
  _floriday_queue_cleanup_batch: {
28604
28833
  Args: {
28605
28834
  p_days: number;
@@ -28634,6 +28863,18 @@ export type Database = {
28634
28863
  };
28635
28864
  Returns: undefined;
28636
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
+ };
28637
28878
  _print_meld_stilstand: {
28638
28879
  Args: {
28639
28880
  _reden: string;
@@ -28647,6 +28888,19 @@ export type Database = {
28647
28888
  };
28648
28889
  Returns: Json;
28649
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
+ };
28650
28904
  _scan_kar_voortgang: {
28651
28905
  Args: {
28652
28906
  p_cart_id: string;
@@ -28700,6 +28954,12 @@ export type Database = {
28700
28954
  };
28701
28955
  Returns: string;
28702
28956
  };
28957
+ afh_order_floriday_afgehandeld: {
28958
+ Args: {
28959
+ p_order_id: string;
28960
+ };
28961
+ Returns: boolean;
28962
+ };
28703
28963
  afh_pick_workdays: {
28704
28964
  Args: {
28705
28965
  p_from: string;
@@ -28734,6 +28994,22 @@ export type Database = {
28734
28994
  };
28735
28995
  Returns: Json;
28736
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
+ };
28737
29013
  afh_signup_mail: {
28738
29014
  Args: {
28739
29015
  g: Json;
@@ -28742,6 +29018,22 @@ export type Database = {
28742
29018
  };
28743
29019
  Returns: Json;
28744
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
+ };
28745
29037
  afh_signup_send_group: {
28746
29038
  Args: {
28747
29039
  g: Json;
@@ -28753,6 +29045,17 @@ export type Database = {
28753
29045
  };
28754
29046
  Returns: Json;
28755
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
+ };
28756
29059
  afh_subtract_workdays: {
28757
29060
  Args: {
28758
29061
  _date: string;
@@ -29833,6 +30136,30 @@ export type Database = {
29833
30136
  };
29834
30137
  Returns: boolean;
29835
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
+ };
29836
30163
  floriday_adopt_connection: {
29837
30164
  Args: {
29838
30165
  p_new: string;
@@ -30995,6 +31322,12 @@ export type Database = {
30995
31322
  Args: never;
30996
31323
  Returns: undefined;
30997
31324
  };
31325
+ logistics_apply_external_fulfillment: {
31326
+ Args: {
31327
+ p_event_id: string;
31328
+ };
31329
+ Returns: string;
31330
+ };
30998
31331
  logistics_apply_order_buffer: {
30999
31332
  Args: {
31000
31333
  p_order_id: string;
@@ -31145,6 +31478,12 @@ export type Database = {
31145
31478
  };
31146
31479
  Returns: Json;
31147
31480
  };
31481
+ logistics_buffer_closed_for_join: {
31482
+ Args: {
31483
+ p_buffer: string;
31484
+ };
31485
+ Returns: boolean;
31486
+ };
31148
31487
  logistics_buffer_criteria: {
31149
31488
  Args: {
31150
31489
  p_settings: Json;
@@ -31173,6 +31512,12 @@ export type Database = {
31173
31512
  };
31174
31513
  Returns: Json;
31175
31514
  };
31515
+ logistics_buffer_frozen: {
31516
+ Args: {
31517
+ p_buffer: string;
31518
+ };
31519
+ Returns: boolean;
31520
+ };
31176
31521
  logistics_buffer_frozen_order: {
31177
31522
  Args: {
31178
31523
  p_order_id: string;
@@ -31213,6 +31558,12 @@ export type Database = {
31213
31558
  };
31214
31559
  Returns: Json;
31215
31560
  };
31561
+ logistics_buffer_target: {
31562
+ Args: {
31563
+ p_order_id: string;
31564
+ };
31565
+ Returns: Json;
31566
+ };
31216
31567
  logistics_buffer_value: {
31217
31568
  Args: {
31218
31569
  p_criterion: string;
@@ -31232,6 +31583,12 @@ export type Database = {
31232
31583
  Args: never;
31233
31584
  Returns: number;
31234
31585
  };
31586
+ logistics_cancel_stale_cart_pick_rows: {
31587
+ Args: {
31588
+ p_order_ids: string[];
31589
+ };
31590
+ Returns: number;
31591
+ };
31235
31592
  logistics_capacity_day_check: {
31236
31593
  Args: {
31237
31594
  p_from?: string;
@@ -31245,6 +31602,13 @@ export type Database = {
31245
31602
  };
31246
31603
  Returns: Json;
31247
31604
  };
31605
+ logistics_carrier_for_location: {
31606
+ Args: {
31607
+ p_customer_id: string;
31608
+ p_location: string;
31609
+ };
31610
+ Returns: string;
31611
+ };
31248
31612
  logistics_carrier_minutes: {
31249
31613
  Args: {
31250
31614
  p_carrier: string;
@@ -31252,6 +31616,32 @@ export type Database = {
31252
31616
  };
31253
31617
  Returns: number;
31254
31618
  };
31619
+ logistics_cart_archive: {
31620
+ Args: {
31621
+ p_confirm_count: number;
31622
+ p_ids: string[];
31623
+ p_reason: string;
31624
+ };
31625
+ Returns: Json;
31626
+ };
31627
+ logistics_cart_archive_classify: {
31628
+ Args: never;
31629
+ Returns: {
31630
+ buffer_id: string;
31631
+ cart_id: string;
31632
+ cart_number: number;
31633
+ created_at: string;
31634
+ deel: string;
31635
+ groep: string;
31636
+ order_id: string;
31637
+ order_number: string;
31638
+ reden: string;
31639
+ }[];
31640
+ };
31641
+ logistics_cart_archive_preview: {
31642
+ Args: never;
31643
+ Returns: Json;
31644
+ };
31255
31645
  logistics_cart_barcode_opschonen: {
31256
31646
  Args: {
31257
31647
  p_portie?: number;
@@ -31325,6 +31715,12 @@ export type Database = {
31325
31715
  task_status: string;
31326
31716
  }[];
31327
31717
  };
31718
+ logistics_cart_is_archived: {
31719
+ Args: {
31720
+ p_cart_id: string;
31721
+ };
31722
+ Returns: boolean;
31723
+ };
31328
31724
  logistics_cart_is_frozen: {
31329
31725
  Args: {
31330
31726
  p_cart_id: string;
@@ -31433,12 +31829,25 @@ export type Database = {
31433
31829
  };
31434
31830
  Returns: Json;
31435
31831
  };
31832
+ logistics_cart_slip_queued: {
31833
+ Args: {
31834
+ p_cart: string;
31835
+ };
31836
+ Returns: boolean;
31837
+ };
31436
31838
  logistics_cart_sticker_state: {
31437
31839
  Args: {
31438
31840
  p_cart_id: string;
31439
31841
  };
31440
31842
  Returns: Json;
31441
31843
  };
31844
+ logistics_cart_unarchive: {
31845
+ Args: {
31846
+ p_ids: string[];
31847
+ p_reason: string;
31848
+ };
31849
+ Returns: Json;
31850
+ };
31442
31851
  logistics_cart_units: {
31443
31852
  Args: {
31444
31853
  p_from?: string;
@@ -31817,6 +32226,24 @@ export type Database = {
31817
32226
  printed_count: number;
31818
32227
  }[];
31819
32228
  };
32229
+ logistics_departure_calc: {
32230
+ Args: {
32231
+ p_carrier_id: string;
32232
+ p_delivery_date: string;
32233
+ p_moment_key?: string;
32234
+ p_ref_at: string;
32235
+ };
32236
+ Returns: Json;
32237
+ };
32238
+ logistics_departure_preview: {
32239
+ Args: {
32240
+ p_carrier_id: string;
32241
+ p_delivery_date: string;
32242
+ p_delivery_location: string;
32243
+ p_moment_key?: string;
32244
+ };
32245
+ Returns: Json;
32246
+ };
31820
32247
  logistics_document_layout: {
31821
32248
  Args: {
31822
32249
  _document_code: string;
@@ -31920,6 +32347,17 @@ export type Database = {
31920
32347
  ref: string;
31921
32348
  }[];
31922
32349
  };
32350
+ logistics_external_fulfillment_key_report: {
32351
+ Args: never;
32352
+ Returns: {
32353
+ ander_nummer: number;
32354
+ floriday_sales_order_id: string;
32355
+ order_id: string;
32356
+ order_number: string;
32357
+ regels: number;
32358
+ zonder_nummer: number;
32359
+ }[];
32360
+ };
31923
32361
  logistics_fail_task: {
31924
32362
  Args: {
31925
32363
  p_error: string;
@@ -31965,6 +32403,10 @@ export type Database = {
31965
32403
  isSetofReturn: false;
31966
32404
  };
31967
32405
  };
32406
+ logistics_fill_cart_departure: {
32407
+ Args: never;
32408
+ Returns: number;
32409
+ };
31968
32410
  logistics_fix_wrong_shipping_notes: {
31969
32411
  Args: never;
31970
32412
  Returns: Json;
@@ -32164,6 +32606,13 @@ export type Database = {
32164
32606
  };
32165
32607
  Returns: boolean;
32166
32608
  };
32609
+ logistics_item_external_fulfilled: {
32610
+ Args: {
32611
+ p_order_id: string;
32612
+ p_source_line_key: string;
32613
+ };
32614
+ Returns: boolean;
32615
+ };
32167
32616
  logistics_key_product: {
32168
32617
  Args: {
32169
32618
  p_key: string;
@@ -32245,6 +32694,13 @@ export type Database = {
32245
32694
  };
32246
32695
  Returns: string;
32247
32696
  };
32697
+ logistics_nl_moment: {
32698
+ Args: {
32699
+ p_at: string;
32700
+ p_tz: string;
32701
+ };
32702
+ Returns: string;
32703
+ };
32248
32704
  logistics_normalize_product_label: {
32249
32705
  Args: {
32250
32706
  p_label: string;
@@ -32337,6 +32793,21 @@ export type Database = {
32337
32793
  };
32338
32794
  Returns: Json;
32339
32795
  };
32796
+ logistics_order_departure_list: {
32797
+ Args: {
32798
+ p_order_ids: string[];
32799
+ };
32800
+ Returns: {
32801
+ carrierId: string;
32802
+ departureAt: string;
32803
+ lateSignup: boolean;
32804
+ momentKey: string;
32805
+ ok: boolean;
32806
+ order_id: string;
32807
+ reason: string;
32808
+ signupDeadline: string;
32809
+ }[];
32810
+ };
32340
32811
  logistics_order_documents_ready: {
32341
32812
  Args: {
32342
32813
  p_order_ref: string;
@@ -32349,6 +32820,12 @@ export type Database = {
32349
32820
  };
32350
32821
  Returns: boolean;
32351
32822
  };
32823
+ logistics_order_external_state: {
32824
+ Args: {
32825
+ p_order_id: string;
32826
+ };
32827
+ Returns: Json;
32828
+ };
32352
32829
  logistics_order_finalize_enqueue: {
32353
32830
  Args: {
32354
32831
  p_order_id: string;
@@ -32541,6 +33018,12 @@ export type Database = {
32541
33018
  state: string;
32542
33019
  }[];
32543
33020
  };
33021
+ logistics_order_plan_coverage_v165: {
33022
+ Args: {
33023
+ p_order_id: string;
33024
+ };
33025
+ Returns: Json;
33026
+ };
32544
33027
  logistics_order_released: {
32545
33028
  Args: {
32546
33029
  p_order_ref: string;
@@ -33035,6 +33518,12 @@ export type Database = {
33035
33518
  Args: never;
33036
33519
  Returns: number;
33037
33520
  };
33521
+ logistics_rebuffer_candidates: {
33522
+ Args: never;
33523
+ Returns: {
33524
+ order_id: string;
33525
+ }[];
33526
+ };
33038
33527
  logistics_rebuffer_open_orders: {
33039
33528
  Args: {
33040
33529
  p_strategy_id?: string;
@@ -33051,6 +33540,23 @@ export type Database = {
33051
33540
  Args: never;
33052
33541
  Returns: Json;
33053
33542
  };
33543
+ logistics_rebuffer_report: {
33544
+ Args: never;
33545
+ Returns: Json;
33546
+ };
33547
+ logistics_rebuffer_simulate_open: {
33548
+ Args: never;
33549
+ Returns: {
33550
+ buffer_id: string;
33551
+ changed: boolean;
33552
+ cur_label: string;
33553
+ delivery_date: string;
33554
+ id: string;
33555
+ new_label: string;
33556
+ order_number: string;
33557
+ reason: string;
33558
+ }[];
33559
+ };
33054
33560
  logistics_recalc_tick_kick: {
33055
33561
  Args: never;
33056
33562
  Returns: number;
@@ -33289,6 +33795,13 @@ export type Database = {
33289
33795
  };
33290
33796
  Returns: Json;
33291
33797
  };
33798
+ logistics_sales_order_external_fulfilled: {
33799
+ Args: {
33800
+ p_order_id: string;
33801
+ p_sales_order_id: string;
33802
+ };
33803
+ Returns: boolean;
33804
+ };
33292
33805
  logistics_scan_delays: {
33293
33806
  Args: never;
33294
33807
  Returns: number;
@@ -33523,6 +34036,10 @@ export type Database = {
33523
34036
  };
33524
34037
  Returns: boolean;
33525
34038
  };
34039
+ logistics_sticker_blocked_list: {
34040
+ Args: never;
34041
+ Returns: Json;
34042
+ };
33526
34043
  logistics_sticker_cart_plek: {
33527
34044
  Args: {
33528
34045
  _cart: string;
@@ -33530,6 +34047,26 @@ export type Database = {
33530
34047
  };
33531
34048
  Returns: string;
33532
34049
  };
34050
+ logistics_sticker_distribution: {
34051
+ Args: {
34052
+ p_copies: number;
34053
+ p_order: string;
34054
+ p_trade_item: string;
34055
+ p_type: string;
34056
+ };
34057
+ Returns: {
34058
+ cart_id: string;
34059
+ crates: number;
34060
+ kopieen: number;
34061
+ pieces: number;
34062
+ }[];
34063
+ };
34064
+ logistics_sticker_external_fulfilled: {
34065
+ Args: {
34066
+ p_sticker_print_id: string;
34067
+ };
34068
+ Returns: boolean;
34069
+ };
33533
34070
  logistics_sticker_follows_slip: {
33534
34071
  Args: never;
33535
34072
  Returns: boolean;
@@ -33613,6 +34150,12 @@ export type Database = {
33613
34150
  };
33614
34151
  Returns: number;
33615
34152
  };
34153
+ logistics_sync_task_status: {
34154
+ Args: {
34155
+ p_order_ref?: string;
34156
+ };
34157
+ Returns: number;
34158
+ };
33616
34159
  logistics_task_open_counts: {
33617
34160
  Args: never;
33618
34161
  Returns: {
@@ -33663,6 +34206,10 @@ export type Database = {
33663
34206
  Args: never;
33664
34207
  Returns: string;
33665
34208
  };
34209
+ logistics_tick_runs_prune: {
34210
+ Args: never;
34211
+ Returns: number;
34212
+ };
33666
34213
  logistics_timezone_options: {
33667
34214
  Args: never;
33668
34215
  Returns: {
@@ -33838,6 +34385,12 @@ export type Database = {
33838
34385
  };
33839
34386
  Returns: Json;
33840
34387
  };
34388
+ logistics_try_uuid: {
34389
+ Args: {
34390
+ p: string;
34391
+ };
34392
+ Returns: string;
34393
+ };
33841
34394
  logistics_tz: {
33842
34395
  Args: never;
33843
34396
  Returns: string;
@@ -34784,6 +35337,12 @@ export type Database = {
34784
35337
  };
34785
35338
  Returns: string;
34786
35339
  };
35340
+ pick_sticker_past_controle: {
35341
+ Args: {
35342
+ p_cart_id: string;
35343
+ };
35344
+ Returns: Json;
35345
+ };
34787
35346
  pick_sync_pick_day: {
34788
35347
  Args: {
34789
35348
  _day: string;
@@ -34863,6 +35422,21 @@ export type Database = {
34863
35422
  };
34864
35423
  Returns: undefined;
34865
35424
  };
35425
+ pickstation_sticker_past_controle: {
35426
+ Args: {
35427
+ p_cart_id: string;
35428
+ p_slug: string;
35429
+ };
35430
+ Returns: Json;
35431
+ };
35432
+ pickstation_sticker_reprint: {
35433
+ Args: {
35434
+ p_cart_id: string;
35435
+ p_reden?: string;
35436
+ p_slug: string;
35437
+ };
35438
+ Returns: Json;
35439
+ };
34866
35440
  plan_standby_batch: {
34867
35441
  Args: {
34868
35442
  _items: Json;
@@ -35015,6 +35589,14 @@ export type Database = {
35015
35589
  status: string;
35016
35590
  }[];
35017
35591
  };
35592
+ print_kopieen_aantal: {
35593
+ Args: {
35594
+ _kopieen: number;
35595
+ _payload: Json;
35596
+ _type: string;
35597
+ };
35598
+ Returns: number;
35599
+ };
35018
35600
  print_preview_toestaan: {
35019
35601
  Args: {
35020
35602
  _max?: number;
@@ -35057,6 +35639,20 @@ export type Database = {
35057
35639
  };
35058
35640
  Returns: Json;
35059
35641
  };
35642
+ printer_herstel_uitvoeren: {
35643
+ Args: {
35644
+ _plek: string;
35645
+ _printer: string;
35646
+ };
35647
+ Returns: number;
35648
+ };
35649
+ printer_herstel_voorstel: {
35650
+ Args: {
35651
+ _plek: string;
35652
+ _printer: string;
35653
+ };
35654
+ Returns: number;
35655
+ };
35060
35656
  printer_routering: {
35061
35657
  Args: {
35062
35658
  _documenttype: string;
@@ -35068,6 +35664,13 @@ export type Database = {
35068
35664
  };
35069
35665
  Returns: Json;
35070
35666
  };
35667
+ printer_verwijder_verwijzingen: {
35668
+ Args: {
35669
+ _plek: string;
35670
+ _printer: string;
35671
+ };
35672
+ Returns: Json;
35673
+ };
35071
35674
  printplek_printer: {
35072
35675
  Args: {
35073
35676
  _documenttype: string;
@@ -35340,6 +35943,13 @@ export type Database = {
35340
35943
  };
35341
35944
  Returns: undefined;
35342
35945
  };
35946
+ record_offer_order_failure: {
35947
+ Args: {
35948
+ p_error: string;
35949
+ p_offer_order_id: string;
35950
+ };
35951
+ Returns: undefined;
35952
+ };
35343
35953
  refresh_external_customers_grouped: {
35344
35954
  Args: never;
35345
35955
  Returns: undefined;
@@ -35476,6 +36086,10 @@ export type Database = {
35476
36086
  };
35477
36087
  Returns: string;
35478
36088
  };
36089
+ retry_offer_orders: {
36090
+ Args: never;
36091
+ Returns: number;
36092
+ };
35479
36093
  retry_twinfield_push: {
35480
36094
  Args: {
35481
36095
  _customer_id: string;
@@ -35605,6 +36219,7 @@ export type Database = {
35605
36219
  scan_eindcontrole: {
35606
36220
  Args: {
35607
36221
  p_barcode: string;
36222
+ p_bevestig_niet_geprint?: boolean;
35608
36223
  p_scanner_id?: string;
35609
36224
  };
35610
36225
  Returns: Json;
@@ -36145,6 +36760,13 @@ export type Database = {
36145
36760
  };
36146
36761
  Returns: Json;
36147
36762
  };
36763
+ sticker_past_controle: {
36764
+ Args: {
36765
+ _print_plek_id?: string;
36766
+ _sticker_ids: string[];
36767
+ };
36768
+ Returns: Json;
36769
+ };
36148
36770
  stock_import_cleanup: {
36149
36771
  Args: never;
36150
36772
  Returns: number;
@@ -36946,6 +37568,20 @@ export type Database = {
36946
37568
  Args: never;
36947
37569
  Returns: Json;
36948
37570
  };
37571
+ voorraad_consume_external_fulfilled: {
37572
+ Args: {
37573
+ p_ids: string[];
37574
+ p_order_id: string;
37575
+ p_source: string;
37576
+ };
37577
+ Returns: number;
37578
+ };
37579
+ voorraad_external_fulfilled_ids: {
37580
+ Args: {
37581
+ p_cf: Json;
37582
+ };
37583
+ Returns: string[];
37584
+ };
36949
37585
  voorraad_hook_base_url: {
36950
37586
  Args: never;
36951
37587
  Returns: string;