@flowselections/pick-schermen-kwekers 1.0.41 → 1.0.44

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.
Files changed (41) hide show
  1. package/dist-lib/components/PickstationsPage.js +1 -1
  2. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  3. package/dist-lib/components/pick/PickScherm.js +174 -36
  4. package/dist-lib/components/pick/QueueTable.d.ts +6 -1
  5. package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
  6. package/dist-lib/components/pick/QueueTable.js +44 -11
  7. package/dist-lib/components/pick/ReferentiedataBanner.js +1 -1
  8. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/previewAuthStorage.js +22 -4
  10. package/dist-lib/integrations/supabase/types.d.ts +368 -0
  11. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  12. package/dist-lib/lib/__tests__/pick142.test.d.ts +2 -0
  13. package/dist-lib/lib/__tests__/pick142.test.d.ts.map +1 -0
  14. package/dist-lib/lib/__tests__/pick142.test.js +80 -0
  15. package/dist-lib/lib/__tests__/pick143.test.d.ts +2 -0
  16. package/dist-lib/lib/__tests__/pick143.test.d.ts.map +1 -0
  17. package/dist-lib/lib/__tests__/pick143.test.js +61 -0
  18. package/dist-lib/lib/pick142.d.ts +58 -0
  19. package/dist-lib/lib/pick142.d.ts.map +1 -0
  20. package/dist-lib/lib/pick142.js +235 -0
  21. package/dist-lib/lib/pick143.d.ts +31 -0
  22. package/dist-lib/lib/pick143.d.ts.map +1 -0
  23. package/dist-lib/lib/pick143.js +93 -0
  24. package/dist-lib/lib/pickApi.d.ts +13 -0
  25. package/dist-lib/lib/pickApi.d.ts.map +1 -1
  26. package/dist-lib/lib/pickApi.js +28 -5
  27. package/dist-lib/lib/pickCartResults.d.ts +1 -1
  28. package/dist-lib/lib/pickCartResults.d.ts.map +1 -1
  29. package/dist-lib/lib/pickCartResults.js +2 -2
  30. package/dist-lib/lib/pickI18n.js +6 -6
  31. package/dist-lib/lib/pickPrintJobText.js +2 -2
  32. package/dist-lib/lib/pickRowState.d.ts +1 -1
  33. package/dist-lib/lib/pickRowState.d.ts.map +1 -1
  34. package/dist-lib/lib/pickRowState.js +6 -2
  35. package/dist-lib/lib/pickTypes.d.ts +29 -1
  36. package/dist-lib/lib/pickTypes.d.ts.map +1 -1
  37. package/dist-lib/lib/pickTypes.js +42 -8
  38. package/dist-lib/lib/pickUiText.d.ts.map +1 -1
  39. package/dist-lib/lib/pickUiText.js +10 -0
  40. package/dist-lib/lib/shippingNoteStatus.js +2 -2
  41. package/package.json +1 -1
@@ -11615,6 +11615,66 @@ export type Database = {
11615
11615
  };
11616
11616
  Relationships: [];
11617
11617
  };
11618
+ logistics_auto_send: {
11619
+ Row: {
11620
+ attempts: number;
11621
+ buffer_id: string | null;
11622
+ cart_ids: string[];
11623
+ created_at: string;
11624
+ id: string;
11625
+ idempotency_key: string;
11626
+ last_http_status: number | null;
11627
+ locked_until: string | null;
11628
+ max_attempts: number;
11629
+ next_attempt_at: string;
11630
+ order_id: string;
11631
+ order_ids: string[];
11632
+ reason: string | null;
11633
+ sent_at: string | null;
11634
+ sent_how: string | null;
11635
+ status: string;
11636
+ updated_at: string;
11637
+ };
11638
+ Insert: {
11639
+ attempts?: number;
11640
+ buffer_id?: string | null;
11641
+ cart_ids?: string[];
11642
+ created_at?: string;
11643
+ id?: string;
11644
+ idempotency_key: string;
11645
+ last_http_status?: number | null;
11646
+ locked_until?: string | null;
11647
+ max_attempts?: number;
11648
+ next_attempt_at?: string;
11649
+ order_id: string;
11650
+ order_ids?: string[];
11651
+ reason?: string | null;
11652
+ sent_at?: string | null;
11653
+ sent_how?: string | null;
11654
+ status?: string;
11655
+ updated_at?: string;
11656
+ };
11657
+ Update: {
11658
+ attempts?: number;
11659
+ buffer_id?: string | null;
11660
+ cart_ids?: string[];
11661
+ created_at?: string;
11662
+ id?: string;
11663
+ idempotency_key?: string;
11664
+ last_http_status?: number | null;
11665
+ locked_until?: string | null;
11666
+ max_attempts?: number;
11667
+ next_attempt_at?: string;
11668
+ order_id?: string;
11669
+ order_ids?: string[];
11670
+ reason?: string | null;
11671
+ sent_at?: string | null;
11672
+ sent_how?: string | null;
11673
+ status?: string;
11674
+ updated_at?: string;
11675
+ };
11676
+ Relationships: [];
11677
+ };
11618
11678
  logistics_autolink_audit: {
11619
11679
  Row: {
11620
11680
  created_at: string;
@@ -16749,6 +16809,44 @@ export type Database = {
16749
16809
  };
16750
16810
  Relationships: [];
16751
16811
  };
16812
+ order_review_dismissals: {
16813
+ Row: {
16814
+ dismissed_at: string;
16815
+ dismissed_by: string | null;
16816
+ id: string;
16817
+ kind: string;
16818
+ note: string | null;
16819
+ order_id: string;
16820
+ review_reason: string;
16821
+ };
16822
+ Insert: {
16823
+ dismissed_at?: string;
16824
+ dismissed_by?: string | null;
16825
+ id?: string;
16826
+ kind: string;
16827
+ note?: string | null;
16828
+ order_id: string;
16829
+ review_reason: string;
16830
+ };
16831
+ Update: {
16832
+ dismissed_at?: string;
16833
+ dismissed_by?: string | null;
16834
+ id?: string;
16835
+ kind?: string;
16836
+ note?: string | null;
16837
+ order_id?: string;
16838
+ review_reason?: string;
16839
+ };
16840
+ Relationships: [
16841
+ {
16842
+ foreignKeyName: "order_review_dismissals_order_id_fkey";
16843
+ columns: ["order_id"];
16844
+ isOneToOne: false;
16845
+ referencedRelation: "orders";
16846
+ referencedColumns: ["id"];
16847
+ }
16848
+ ];
16849
+ };
16752
16850
  order_shipment_items: {
16753
16851
  Row: {
16754
16852
  created_at: string;
@@ -26992,6 +27090,8 @@ export type Database = {
26992
27090
  werkbon_time_logs: {
26993
27091
  Row: {
26994
27092
  activity: string;
27093
+ auto_stop_reason: string | null;
27094
+ auto_stopped: boolean;
26995
27095
  created_at: string;
26996
27096
  ended_at: string | null;
26997
27097
  id: string;
@@ -27002,6 +27102,8 @@ export type Database = {
27002
27102
  };
27003
27103
  Insert: {
27004
27104
  activity: string;
27105
+ auto_stop_reason?: string | null;
27106
+ auto_stopped?: boolean;
27005
27107
  created_at?: string;
27006
27108
  ended_at?: string | null;
27007
27109
  id?: string;
@@ -27012,6 +27114,8 @@ export type Database = {
27012
27114
  };
27013
27115
  Update: {
27014
27116
  activity?: string;
27117
+ auto_stop_reason?: string | null;
27118
+ auto_stopped?: boolean;
27015
27119
  created_at?: string;
27016
27120
  ended_at?: string | null;
27017
27121
  id?: string;
@@ -28437,6 +28541,12 @@ export type Database = {
28437
28541
  };
28438
28542
  Returns: Json;
28439
28543
  };
28544
+ _scan_kar_voortgang: {
28545
+ Args: {
28546
+ p_cart_id: string;
28547
+ };
28548
+ Returns: Json;
28549
+ };
28440
28550
  _stock_import_caller: {
28441
28551
  Args: {
28442
28552
  p_owner: string;
@@ -29160,6 +29270,13 @@ export type Database = {
29160
29270
  status: string;
29161
29271
  }[];
29162
29272
  };
29273
+ control_mark_cart_delivered_by_cart: {
29274
+ Args: {
29275
+ p_afmeld_bron?: string;
29276
+ p_cart_id: string;
29277
+ };
29278
+ Returns: Json;
29279
+ };
29163
29280
  control_mark_carts_delivered: {
29164
29281
  Args: {
29165
29282
  p_carts: Json;
@@ -29179,6 +29296,13 @@ export type Database = {
29179
29296
  outcome: string;
29180
29297
  }[];
29181
29298
  };
29299
+ control_post_mark_cart_delivered: {
29300
+ Args: {
29301
+ p_cart_id: string;
29302
+ p_slug: string;
29303
+ };
29304
+ Returns: Json;
29305
+ };
29182
29306
  count_distinct_regulatory_products: {
29183
29307
  Args: never;
29184
29308
  Returns: number;
@@ -30652,6 +30776,75 @@ export type Database = {
30652
30776
  reason_code: string;
30653
30777
  }[];
30654
30778
  };
30779
+ logistics_auto_send_claim: {
30780
+ Args: {
30781
+ p_limit?: number;
30782
+ };
30783
+ Returns: {
30784
+ attempts: number;
30785
+ buffer_id: string | null;
30786
+ cart_ids: string[];
30787
+ created_at: string;
30788
+ id: string;
30789
+ idempotency_key: string;
30790
+ last_http_status: number | null;
30791
+ locked_until: string | null;
30792
+ max_attempts: number;
30793
+ next_attempt_at: string;
30794
+ order_id: string;
30795
+ order_ids: string[];
30796
+ reason: string | null;
30797
+ sent_at: string | null;
30798
+ sent_how: string | null;
30799
+ status: string;
30800
+ updated_at: string;
30801
+ }[];
30802
+ SetofOptions: {
30803
+ from: "*";
30804
+ to: "logistics_auto_send";
30805
+ isOneToOne: false;
30806
+ isSetofReturn: true;
30807
+ };
30808
+ };
30809
+ logistics_auto_send_enqueue_for_order: {
30810
+ Args: {
30811
+ p_order_id: string;
30812
+ };
30813
+ Returns: boolean;
30814
+ };
30815
+ logistics_auto_send_finish: {
30816
+ Args: {
30817
+ p_config_missing?: boolean;
30818
+ p_definitief?: boolean;
30819
+ p_http?: number;
30820
+ p_id: string;
30821
+ p_ok: boolean;
30822
+ p_reason: string;
30823
+ };
30824
+ Returns: Json;
30825
+ };
30826
+ logistics_auto_send_route_missing: {
30827
+ Args: never;
30828
+ Returns: boolean;
30829
+ };
30830
+ logistics_auto_send_sent_elsewhere: {
30831
+ Args: {
30832
+ p_order_id: string;
30833
+ };
30834
+ Returns: string;
30835
+ };
30836
+ logistics_auto_send_status: {
30837
+ Args: {
30838
+ p_order_id: string;
30839
+ };
30840
+ Returns: Json;
30841
+ };
30842
+ logistics_auto_send_status_core: {
30843
+ Args: {
30844
+ p_order_id: string;
30845
+ };
30846
+ Returns: Json;
30847
+ };
30655
30848
  logistics_backorder_allowed: {
30656
30849
  Args: {
30657
30850
  p_strategy_id?: string;
@@ -30836,6 +31029,12 @@ export type Database = {
30836
31029
  Args: never;
30837
31030
  Returns: Json;
30838
31031
  };
31032
+ logistics_cart_fixed_numbering: {
31033
+ Args: {
31034
+ p_cart_id: string;
31035
+ };
31036
+ Returns: Json;
31037
+ };
30839
31038
  logistics_cart_handled: {
30840
31039
  Args: {
30841
31040
  p_cart_index: number;
@@ -30887,10 +31086,22 @@ export type Database = {
30887
31086
  };
30888
31087
  Returns: boolean;
30889
31088
  };
31089
+ logistics_cart_json_fixed: {
31090
+ Args: {
31091
+ p_cart: Json;
31092
+ };
31093
+ Returns: Json;
31094
+ };
30890
31095
  logistics_cart_layout_method: {
30891
31096
  Args: never;
30892
31097
  Returns: Json;
30893
31098
  };
31099
+ logistics_cart_order_ids: {
31100
+ Args: {
31101
+ p_cart_id: string;
31102
+ };
31103
+ Returns: string[];
31104
+ };
30894
31105
  logistics_cart_order_refs: {
30895
31106
  Args: {
30896
31107
  p_cart_id: string;
@@ -30934,6 +31145,12 @@ export type Database = {
30934
31145
  };
30935
31146
  Returns: boolean;
30936
31147
  };
31148
+ logistics_cart_scanned: {
31149
+ Args: {
31150
+ p_cart_id: string;
31151
+ };
31152
+ Returns: boolean;
31153
+ };
30937
31154
  logistics_cart_seq: {
30938
31155
  Args: {
30939
31156
  p_order_uuid?: string;
@@ -30990,6 +31207,12 @@ export type Database = {
30990
31207
  unit_ref: string;
30991
31208
  }[];
30992
31209
  };
31210
+ logistics_cart_wait_until: {
31211
+ Args: {
31212
+ p_cart_id: string;
31213
+ };
31214
+ Returns: string;
31215
+ };
30993
31216
  logistics_carts_per_print: {
30994
31217
  Args: never;
30995
31218
  Returns: number;
@@ -31272,6 +31495,13 @@ export type Database = {
31272
31495
  };
31273
31496
  Returns: number;
31274
31497
  };
31498
+ logistics_control_scan_record_afmelding_cart: {
31499
+ Args: {
31500
+ p_bron: string;
31501
+ p_cart_id: string;
31502
+ };
31503
+ Returns: number;
31504
+ };
31275
31505
  logistics_control_scan_retry: {
31276
31506
  Args: {
31277
31507
  _id: string;
@@ -31699,6 +31929,23 @@ export type Database = {
31699
31929
  };
31700
31930
  Returns: number;
31701
31931
  };
31932
+ logistics_local_hhmi: {
31933
+ Args: {
31934
+ p_ts: string;
31935
+ };
31936
+ Returns: string;
31937
+ };
31938
+ logistics_local_today: {
31939
+ Args: never;
31940
+ Returns: string;
31941
+ };
31942
+ logistics_mark_cart_delivered_core: {
31943
+ Args: {
31944
+ p_bron: string;
31945
+ p_cart_id: string;
31946
+ };
31947
+ Returns: Json;
31948
+ };
31702
31949
  logistics_merge_decision: {
31703
31950
  Args: {
31704
31951
  p_lines: Json;
@@ -31757,6 +32004,12 @@ export type Database = {
31757
32004
  };
31758
32005
  Returns: boolean;
31759
32006
  };
32007
+ logistics_order_all_carts_scanned: {
32008
+ Args: {
32009
+ p_order_id: string;
32010
+ };
32011
+ Returns: boolean;
32012
+ };
31760
32013
  logistics_order_backlog_info: {
31761
32014
  Args: {
31762
32015
  p_order_id: string;
@@ -31784,6 +32037,12 @@ export type Database = {
31784
32037
  };
31785
32038
  Returns: number;
31786
32039
  };
32040
+ logistics_order_cart_ids: {
32041
+ Args: {
32042
+ p_order_id: string;
32043
+ };
32044
+ Returns: string[];
32045
+ };
31787
32046
  logistics_order_changed: {
31788
32047
  Args: {
31789
32048
  p_order_id: string;
@@ -31993,6 +32252,10 @@ export type Database = {
31993
32252
  };
31994
32253
  Returns: Json;
31995
32254
  };
32255
+ logistics_orphan_carts_summary: {
32256
+ Args: never;
32257
+ Returns: Json;
32258
+ };
31996
32259
  logistics_packing_autofix: {
31997
32260
  Args: {
31998
32261
  p_limit?: number;
@@ -32050,12 +32313,26 @@ export type Database = {
32050
32313
  };
32051
32314
  Returns: boolean;
32052
32315
  };
32316
+ logistics_pakbon_old_order_row: {
32317
+ Args: {
32318
+ p_ids: string[];
32319
+ };
32320
+ Returns: boolean;
32321
+ };
32322
+ logistics_pakbon_oude_orderregels: {
32323
+ Args: never;
32324
+ Returns: Json;
32325
+ };
32053
32326
  logistics_parse_pickup: {
32054
32327
  Args: {
32055
32328
  p_value: string;
32056
32329
  };
32057
32330
  Returns: string;
32058
32331
  };
32332
+ logistics_partial_wait_minutes: {
32333
+ Args: never;
32334
+ Returns: number;
32335
+ };
32059
32336
  logistics_payload_is_floriday: {
32060
32337
  Args: {
32061
32338
  _payload: Json;
@@ -32098,6 +32375,14 @@ export type Database = {
32098
32375
  Args: never;
32099
32376
  Returns: string;
32100
32377
  };
32378
+ logistics_pick_queue_close: {
32379
+ Args: {
32380
+ p_ids: string[];
32381
+ p_mode: string;
32382
+ p_reason: string;
32383
+ };
32384
+ Returns: number;
32385
+ };
32101
32386
  logistics_pick_start_estimate: {
32102
32387
  Args: {
32103
32388
  p_order: Json;
@@ -32615,6 +32900,12 @@ export type Database = {
32615
32900
  };
32616
32901
  Returns: string;
32617
32902
  };
32903
+ logistics_reserved_order_excluded: {
32904
+ Args: {
32905
+ p_order_id: string;
32906
+ };
32907
+ Returns: boolean;
32908
+ };
32618
32909
  logistics_reserved_stock_nightly: {
32619
32910
  Args: never;
32620
32911
  Returns: undefined;
@@ -33214,6 +33505,22 @@ export type Database = {
33214
33505
  };
33215
33506
  Returns: Json;
33216
33507
  };
33508
+ logistics_tz: {
33509
+ Args: never;
33510
+ Returns: string;
33511
+ };
33512
+ logistics_unit_all_carts_scanned: {
33513
+ Args: {
33514
+ p_order_id: string;
33515
+ };
33516
+ Returns: boolean;
33517
+ };
33518
+ logistics_unit_order_ids: {
33519
+ Args: {
33520
+ p_order_id: string;
33521
+ };
33522
+ Returns: string[];
33523
+ };
33217
33524
  logistics_upsert_task: {
33218
33525
  Args: {
33219
33526
  p_buffer_ref: string;
@@ -33429,6 +33736,12 @@ export type Database = {
33429
33736
  Args: never;
33430
33737
  Returns: Json;
33431
33738
  };
33739
+ pick_assert_printable: {
33740
+ Args: {
33741
+ _item: Database["public"]["Tables"]["pick_queue"]["Row"];
33742
+ };
33743
+ Returns: undefined;
33744
+ };
33432
33745
  pick_available_pick_days: {
33433
33746
  Args: {
33434
33747
  _max_days?: number;
@@ -34150,6 +34463,13 @@ export type Database = {
34150
34463
  };
34151
34464
  Returns: Json;
34152
34465
  };
34466
+ pickstation_auto_send_status: {
34467
+ Args: {
34468
+ p_order_id: string;
34469
+ p_slug: string;
34470
+ };
34471
+ Returns: Json;
34472
+ };
34153
34473
  pickstation_cart_sticker_state: {
34154
34474
  Args: {
34155
34475
  p_cart_id: string;
@@ -34339,6 +34659,12 @@ export type Database = {
34339
34659
  };
34340
34660
  Returns: boolean;
34341
34661
  };
34662
+ print_is_labelprinter: {
34663
+ Args: {
34664
+ _printer_id: string;
34665
+ };
34666
+ Returns: boolean;
34667
+ };
34342
34668
  print_job_status_uitgebreid: {
34343
34669
  Args: {
34344
34670
  _job_id: string;
@@ -34959,6 +35285,14 @@ export type Database = {
34959
35285
  };
34960
35286
  Returns: Json;
34961
35287
  };
35288
+ scan_kar_voortgang: {
35289
+ Args: {
35290
+ p_cart_id: string;
35291
+ p_scanner_id?: string;
35292
+ p_slug?: string;
35293
+ };
35294
+ Returns: Json;
35295
+ };
34962
35296
  scan_log_code: {
34963
35297
  Args: {
34964
35298
  p_code: string;
@@ -34976,6 +35310,12 @@ export type Database = {
34976
35310
  };
34977
35311
  Returns: Json;
34978
35312
  };
35313
+ scan_order_klant: {
35314
+ Args: {
35315
+ p_order_id: string;
35316
+ };
35317
+ Returns: Json;
35318
+ };
34979
35319
  scan_pakbon_lookup: {
34980
35320
  Args: {
34981
35321
  p_barcode: string;
@@ -35082,6 +35422,10 @@ export type Database = {
35082
35422
  };
35083
35423
  Returns: Json;
35084
35424
  };
35425
+ scan_tijdzone: {
35426
+ Args: never;
35427
+ Returns: string;
35428
+ };
35085
35429
  scan_verzendbrief_regels: {
35086
35430
  Args: {
35087
35431
  p_sessie_id: string;
@@ -35410,6 +35754,26 @@ export type Database = {
35410
35754
  trade_item_key: string;
35411
35755
  updated_at: string;
35412
35756
  }[];
35757
+ } | {
35758
+ Args: {
35759
+ p_change_source?: string;
35760
+ p_incoming_stock?: number;
35761
+ p_minimum_stock?: number;
35762
+ p_notes?: string;
35763
+ p_physical_stock: number;
35764
+ p_product_id: string;
35765
+ };
35766
+ Returns: {
35767
+ connection_id: string;
35768
+ incoming_stock: number;
35769
+ minimum_stock: number;
35770
+ notes: string;
35771
+ physical_stock: number;
35772
+ product_id: string;
35773
+ reserved_stock: number;
35774
+ trade_item_key: string;
35775
+ updated_at: string;
35776
+ }[];
35413
35777
  };
35414
35778
  show_limit: {
35415
35779
  Args: never;
@@ -36442,6 +36806,10 @@ export type Database = {
36442
36806
  Args: never;
36443
36807
  Returns: string;
36444
36808
  };
36809
+ wo_timer_stop_0400: {
36810
+ Args: never;
36811
+ Returns: number;
36812
+ };
36445
36813
  };
36446
36814
  Enums: {
36447
36815
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";