@flowselections/floriday-afhandeling-module 1.0.43 → 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 (39) hide show
  1. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  2. package/dist-lib/components/afhandeling/WeekAgendaView.js +24 -1
  3. package/dist-lib/hooks/useEngineBufferEvents.d.ts +7 -0
  4. package/dist-lib/hooks/useEngineBufferEvents.d.ts.map +1 -0
  5. package/dist-lib/hooks/useEngineBufferEvents.js +47 -0
  6. package/dist-lib/hooks/useKnownOrders.d.ts +1 -0
  7. package/dist-lib/hooks/useKnownOrders.d.ts.map +1 -1
  8. package/dist-lib/hooks/useKnownOrders.js +26 -1
  9. package/dist-lib/hooks/usePickAgenda.d.ts +4 -0
  10. package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
  11. package/dist-lib/hooks/usePickAgenda.js +6 -3
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts +173 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/client.server.d.ts +173 -0
  15. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/moduleClient.d.ts +173 -0
  17. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/types.d.ts +173 -0
  19. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  20. package/dist-lib/lib/afhandelingSettings.functions.d.ts +346 -0
  21. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/carriers.functions.d.ts +865 -0
  23. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/cartAssignments.functions.d.ts +865 -0
  25. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/cartControl.functions.d.ts +1903 -0
  27. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/deliveryNote.functions.d.ts +173 -0
  29. package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/engineLayouts.functions.d.ts +173 -0
  31. package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday.functions.d.ts +348 -0
  33. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday.functions.js +1 -0
  35. package/dist-lib/lib/orderFulfilment.functions.d.ts +173 -0
  36. package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/pickDates.functions.d.ts +173 -0
  38. package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
  39. package/package.json +1 -1
@@ -2163,6 +2163,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2163
2163
  created_at: string;
2164
2164
  currency: string;
2165
2165
  distribute_over: string | null;
2166
+ external_id: string | null;
2167
+ external_synced_at: string | null;
2166
2168
  group_type: string;
2167
2169
  handling_fee: number | null;
2168
2170
  id: string;
@@ -2175,6 +2177,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2175
2177
  rounding: string;
2176
2178
  rounding_step: number;
2177
2179
  sort_order: number;
2180
+ source: string;
2178
2181
  unit: string;
2179
2182
  updated_at: string;
2180
2183
  };
@@ -2185,6 +2188,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2185
2188
  created_at?: string;
2186
2189
  currency?: string;
2187
2190
  distribute_over?: string | null;
2191
+ external_id?: string | null;
2192
+ external_synced_at?: string | null;
2188
2193
  group_type?: string;
2189
2194
  handling_fee?: number | null;
2190
2195
  id?: string;
@@ -2197,6 +2202,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2197
2202
  rounding?: string;
2198
2203
  rounding_step?: number;
2199
2204
  sort_order?: number;
2205
+ source?: string;
2200
2206
  unit?: string;
2201
2207
  updated_at?: string;
2202
2208
  };
@@ -2207,6 +2213,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2207
2213
  created_at?: string;
2208
2214
  currency?: string;
2209
2215
  distribute_over?: string | null;
2216
+ external_id?: string | null;
2217
+ external_synced_at?: string | null;
2210
2218
  group_type?: string;
2211
2219
  handling_fee?: number | null;
2212
2220
  id?: string;
@@ -2219,6 +2227,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2219
2227
  rounding?: string;
2220
2228
  rounding_step?: number;
2221
2229
  sort_order?: number;
2230
+ source?: string;
2222
2231
  unit?: string;
2223
2232
  updated_at?: string;
2224
2233
  };
@@ -9082,6 +9091,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
9082
9091
  referencedColumns: ["id"];
9083
9092
  }];
9084
9093
  };
9094
+ job_locks: {
9095
+ Row: {
9096
+ created_at: string;
9097
+ lock_key: string;
9098
+ locked_until: string;
9099
+ owner: string | null;
9100
+ updated_at: string;
9101
+ };
9102
+ Insert: {
9103
+ created_at?: string;
9104
+ lock_key: string;
9105
+ locked_until: string;
9106
+ owner?: string | null;
9107
+ updated_at?: string;
9108
+ };
9109
+ Update: {
9110
+ created_at?: string;
9111
+ lock_key?: string;
9112
+ locked_until?: string;
9113
+ owner?: string | null;
9114
+ updated_at?: string;
9115
+ };
9116
+ Relationships: [];
9117
+ };
9085
9118
  layout_logos: {
9086
9119
  Row: {
9087
9120
  bestand_url: string;
@@ -10244,6 +10277,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10244
10277
  next_attempt_at: string;
10245
10278
  order_id: string;
10246
10279
  reason: string;
10280
+ reason_code: string | null;
10247
10281
  status: string;
10248
10282
  updated_at: string;
10249
10283
  };
@@ -10256,6 +10290,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10256
10290
  next_attempt_at?: string;
10257
10291
  order_id: string;
10258
10292
  reason?: string;
10293
+ reason_code?: string | null;
10259
10294
  status?: string;
10260
10295
  updated_at?: string;
10261
10296
  };
@@ -10268,6 +10303,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10268
10303
  next_attempt_at?: string;
10269
10304
  order_id?: string;
10270
10305
  reason?: string;
10306
+ reason_code?: string | null;
10271
10307
  status?: string;
10272
10308
  updated_at?: string;
10273
10309
  };
@@ -10972,6 +11008,21 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10972
11008
  referencedColumns: ["id"];
10973
11009
  }];
10974
11010
  };
11011
+ logistics_tick_heartbeat: {
11012
+ Row: {
11013
+ id: boolean;
11014
+ last_tick_at: string;
11015
+ };
11016
+ Insert: {
11017
+ id?: boolean;
11018
+ last_tick_at?: string;
11019
+ };
11020
+ Update: {
11021
+ id?: boolean;
11022
+ last_tick_at?: string;
11023
+ };
11024
+ Relationships: [];
11025
+ };
10975
11026
  logistics_variables: {
10976
11027
  Row: {
10977
11028
  created_at: string;
@@ -22854,6 +22905,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22854
22905
  };
22855
22906
  Returns: import("../integrations/supabase/types").Json;
22856
22907
  };
22908
+ logistics_block_reason_code: {
22909
+ Args: {
22910
+ p_details?: import("../integrations/supabase/types").Json;
22911
+ p_reason: string;
22912
+ };
22913
+ Returns: string;
22914
+ };
22915
+ logistics_blocked_orders: {
22916
+ Args: never;
22917
+ Returns: {
22918
+ attempts: number;
22919
+ blocked_since: string;
22920
+ delivery_date: string;
22921
+ order_id: string;
22922
+ order_ref: string;
22923
+ queue_id: string;
22924
+ reason: string;
22925
+ reason_code: string;
22926
+ }[];
22927
+ };
22928
+ logistics_blocked_overview: {
22929
+ Args: never;
22930
+ Returns: import("../integrations/supabase/types").Json;
22931
+ };
22857
22932
  logistics_buffer_criteria: {
22858
22933
  Args: {
22859
22934
  p_settings: import("../integrations/supabase/types").Json;
@@ -22868,6 +22943,39 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22868
22943
  };
22869
22944
  Returns: import("../integrations/supabase/types").Json;
22870
22945
  };
22946
+ logistics_buffer_detach_late_orders: {
22947
+ Args: {
22948
+ p_buffer?: string;
22949
+ };
22950
+ Returns: import("../integrations/supabase/types").Json;
22951
+ };
22952
+ logistics_buffer_frozen_order: {
22953
+ Args: {
22954
+ p_order_id: string;
22955
+ };
22956
+ Returns: boolean;
22957
+ };
22958
+ logistics_buffer_handled: {
22959
+ Args: {
22960
+ p_buffer: string;
22961
+ };
22962
+ Returns: boolean;
22963
+ };
22964
+ logistics_buffer_notify: {
22965
+ Args: {
22966
+ p_event_type: string;
22967
+ p_idempotency_key: string;
22968
+ p_order_ref: string;
22969
+ p_payload: import("../integrations/supabase/types").Json;
22970
+ };
22971
+ Returns: string;
22972
+ };
22973
+ logistics_buffer_open_key: {
22974
+ Args: {
22975
+ p_base_key: string;
22976
+ };
22977
+ Returns: string;
22978
+ };
22871
22979
  logistics_buffer_simulate: {
22872
22980
  Args: {
22873
22981
  p_orders?: import("../integrations/supabase/types").Json;
@@ -22957,6 +23065,25 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22957
23065
  Args: never;
22958
23066
  Returns: import("../integrations/supabase/types").Json;
22959
23067
  };
23068
+ logistics_cart_plan_overview: {
23069
+ Args: {
23070
+ p_days?: number;
23071
+ };
23072
+ Returns: {
23073
+ cart_total: number;
23074
+ delivery_date: string;
23075
+ order_ref: string;
23076
+ plan_ready: boolean;
23077
+ reason: string;
23078
+ released: boolean;
23079
+ }[];
23080
+ };
23081
+ logistics_cart_plan_status: {
23082
+ Args: {
23083
+ p_ref: string;
23084
+ };
23085
+ Returns: import("../integrations/supabase/types").Json;
23086
+ };
22960
23087
  logistics_cart_seq: {
22961
23088
  Args: {
22962
23089
  p_order_uuid?: string;
@@ -23490,6 +23617,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23490
23617
  };
23491
23618
  Returns: boolean;
23492
23619
  };
23620
+ logistics_link_order_items: {
23621
+ Args: {
23622
+ p_order?: string;
23623
+ };
23624
+ Returns: import("../integrations/supabase/types").Json;
23625
+ };
23493
23626
  logistics_live_carriers: {
23494
23627
  Args: {
23495
23628
  p_order_ref: string;
@@ -23516,6 +23649,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23516
23649
  };
23517
23650
  Returns: string;
23518
23651
  };
23652
+ logistics_normalize_product_label: {
23653
+ Args: {
23654
+ p_label: string;
23655
+ };
23656
+ Returns: string;
23657
+ };
23519
23658
  logistics_not_past: {
23520
23659
  Args: {
23521
23660
  p_ts: string;
@@ -23704,6 +23843,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23704
23843
  Args: never;
23705
23844
  Returns: number;
23706
23845
  };
23846
+ logistics_plan_retry: {
23847
+ Args: {
23848
+ p_order_ids: string[];
23849
+ };
23850
+ Returns: number;
23851
+ };
23707
23852
  logistics_plan_setting: {
23708
23853
  Args: {
23709
23854
  p_default: number;
@@ -23810,6 +23955,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23810
23955
  };
23811
23956
  Returns: import("../integrations/supabase/types").Json;
23812
23957
  };
23958
+ logistics_resolve_product_id: {
23959
+ Args: {
23960
+ p_label: string;
23961
+ };
23962
+ Returns: string;
23963
+ };
23813
23964
  logistics_resolve_settings: {
23814
23965
  Args: {
23815
23966
  p_config_id: string;
@@ -23939,6 +24090,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23939
24090
  };
23940
24091
  Returns: number;
23941
24092
  };
24093
+ logistics_tick_ping: {
24094
+ Args: never;
24095
+ Returns: string;
24096
+ };
23942
24097
  logistics_upsert_task: {
23943
24098
  Args: {
23944
24099
  p_buffer_ref: string;
@@ -24506,6 +24661,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24506
24661
  };
24507
24662
  Returns: undefined;
24508
24663
  };
24664
+ pick_report_missing_cart_plan: {
24665
+ Args: never;
24666
+ Returns: import("../integrations/supabase/types").Json;
24667
+ };
24509
24668
  pick_reprint_cart: {
24510
24669
  Args: {
24511
24670
  _cart_id: string;
@@ -25046,6 +25205,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25046
25205
  };
25047
25206
  Returns: boolean;
25048
25207
  };
25208
+ release_job_lock: {
25209
+ Args: {
25210
+ _key: string;
25211
+ };
25212
+ Returns: undefined;
25213
+ };
25049
25214
  release_local_pdf_job: {
25050
25215
  Args: {
25051
25216
  _job_id: string;
@@ -25734,6 +25899,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25734
25899
  row_count: number;
25735
25900
  }[];
25736
25901
  };
25902
+ try_acquire_job_lock: {
25903
+ Args: {
25904
+ _key: string;
25905
+ _owner?: string;
25906
+ _seconds?: number;
25907
+ };
25908
+ Returns: boolean;
25909
+ };
25737
25910
  try_debtor_lock: {
25738
25911
  Args: {
25739
25912
  _group_key: string;