@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
@@ -2155,6 +2155,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2155
2155
  created_at: string;
2156
2156
  currency: string;
2157
2157
  distribute_over: string | null;
2158
+ external_id: string | null;
2159
+ external_synced_at: string | null;
2158
2160
  group_type: string;
2159
2161
  handling_fee: number | null;
2160
2162
  id: string;
@@ -2167,6 +2169,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2167
2169
  rounding: string;
2168
2170
  rounding_step: number;
2169
2171
  sort_order: number;
2172
+ source: string;
2170
2173
  unit: string;
2171
2174
  updated_at: string;
2172
2175
  };
@@ -2177,6 +2180,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2177
2180
  created_at?: string;
2178
2181
  currency?: string;
2179
2182
  distribute_over?: string | null;
2183
+ external_id?: string | null;
2184
+ external_synced_at?: string | null;
2180
2185
  group_type?: string;
2181
2186
  handling_fee?: number | null;
2182
2187
  id?: string;
@@ -2189,6 +2194,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2189
2194
  rounding?: string;
2190
2195
  rounding_step?: number;
2191
2196
  sort_order?: number;
2197
+ source?: string;
2192
2198
  unit?: string;
2193
2199
  updated_at?: string;
2194
2200
  };
@@ -2199,6 +2205,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2199
2205
  created_at?: string;
2200
2206
  currency?: string;
2201
2207
  distribute_over?: string | null;
2208
+ external_id?: string | null;
2209
+ external_synced_at?: string | null;
2202
2210
  group_type?: string;
2203
2211
  handling_fee?: number | null;
2204
2212
  id?: string;
@@ -2211,6 +2219,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
2211
2219
  rounding?: string;
2212
2220
  rounding_step?: number;
2213
2221
  sort_order?: number;
2222
+ source?: string;
2214
2223
  unit?: string;
2215
2224
  updated_at?: string;
2216
2225
  };
@@ -9074,6 +9083,30 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
9074
9083
  referencedColumns: ["id"];
9075
9084
  }];
9076
9085
  };
9086
+ job_locks: {
9087
+ Row: {
9088
+ created_at: string;
9089
+ lock_key: string;
9090
+ locked_until: string;
9091
+ owner: string | null;
9092
+ updated_at: string;
9093
+ };
9094
+ Insert: {
9095
+ created_at?: string;
9096
+ lock_key: string;
9097
+ locked_until: string;
9098
+ owner?: string | null;
9099
+ updated_at?: string;
9100
+ };
9101
+ Update: {
9102
+ created_at?: string;
9103
+ lock_key?: string;
9104
+ locked_until?: string;
9105
+ owner?: string | null;
9106
+ updated_at?: string;
9107
+ };
9108
+ Relationships: [];
9109
+ };
9077
9110
  layout_logos: {
9078
9111
  Row: {
9079
9112
  bestand_url: string;
@@ -10236,6 +10269,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10236
10269
  next_attempt_at: string;
10237
10270
  order_id: string;
10238
10271
  reason: string;
10272
+ reason_code: string | null;
10239
10273
  status: string;
10240
10274
  updated_at: string;
10241
10275
  };
@@ -10248,6 +10282,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10248
10282
  next_attempt_at?: string;
10249
10283
  order_id: string;
10250
10284
  reason?: string;
10285
+ reason_code?: string | null;
10251
10286
  status?: string;
10252
10287
  updated_at?: string;
10253
10288
  };
@@ -10260,6 +10295,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10260
10295
  next_attempt_at?: string;
10261
10296
  order_id?: string;
10262
10297
  reason?: string;
10298
+ reason_code?: string | null;
10263
10299
  status?: string;
10264
10300
  updated_at?: string;
10265
10301
  };
@@ -10964,6 +11000,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10964
11000
  referencedColumns: ["id"];
10965
11001
  }];
10966
11002
  };
11003
+ logistics_tick_heartbeat: {
11004
+ Row: {
11005
+ id: boolean;
11006
+ last_tick_at: string;
11007
+ };
11008
+ Insert: {
11009
+ id?: boolean;
11010
+ last_tick_at?: string;
11011
+ };
11012
+ Update: {
11013
+ id?: boolean;
11014
+ last_tick_at?: string;
11015
+ };
11016
+ Relationships: [];
11017
+ };
10967
11018
  logistics_variables: {
10968
11019
  Row: {
10969
11020
  created_at: string;
@@ -22846,6 +22897,30 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22846
22897
  };
22847
22898
  Returns: import("./types").Json;
22848
22899
  };
22900
+ logistics_block_reason_code: {
22901
+ Args: {
22902
+ p_details?: import("./types").Json;
22903
+ p_reason: string;
22904
+ };
22905
+ Returns: string;
22906
+ };
22907
+ logistics_blocked_orders: {
22908
+ Args: never;
22909
+ Returns: {
22910
+ attempts: number;
22911
+ blocked_since: string;
22912
+ delivery_date: string;
22913
+ order_id: string;
22914
+ order_ref: string;
22915
+ queue_id: string;
22916
+ reason: string;
22917
+ reason_code: string;
22918
+ }[];
22919
+ };
22920
+ logistics_blocked_overview: {
22921
+ Args: never;
22922
+ Returns: import("./types").Json;
22923
+ };
22849
22924
  logistics_buffer_criteria: {
22850
22925
  Args: {
22851
22926
  p_settings: import("./types").Json;
@@ -22860,6 +22935,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22860
22935
  };
22861
22936
  Returns: import("./types").Json;
22862
22937
  };
22938
+ logistics_buffer_detach_late_orders: {
22939
+ Args: {
22940
+ p_buffer?: string;
22941
+ };
22942
+ Returns: import("./types").Json;
22943
+ };
22944
+ logistics_buffer_frozen_order: {
22945
+ Args: {
22946
+ p_order_id: string;
22947
+ };
22948
+ Returns: boolean;
22949
+ };
22950
+ logistics_buffer_handled: {
22951
+ Args: {
22952
+ p_buffer: string;
22953
+ };
22954
+ Returns: boolean;
22955
+ };
22956
+ logistics_buffer_notify: {
22957
+ Args: {
22958
+ p_event_type: string;
22959
+ p_idempotency_key: string;
22960
+ p_order_ref: string;
22961
+ p_payload: import("./types").Json;
22962
+ };
22963
+ Returns: string;
22964
+ };
22965
+ logistics_buffer_open_key: {
22966
+ Args: {
22967
+ p_base_key: string;
22968
+ };
22969
+ Returns: string;
22970
+ };
22863
22971
  logistics_buffer_simulate: {
22864
22972
  Args: {
22865
22973
  p_orders?: import("./types").Json;
@@ -22949,6 +23057,25 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22949
23057
  Args: never;
22950
23058
  Returns: import("./types").Json;
22951
23059
  };
23060
+ logistics_cart_plan_overview: {
23061
+ Args: {
23062
+ p_days?: number;
23063
+ };
23064
+ Returns: {
23065
+ cart_total: number;
23066
+ delivery_date: string;
23067
+ order_ref: string;
23068
+ plan_ready: boolean;
23069
+ reason: string;
23070
+ released: boolean;
23071
+ }[];
23072
+ };
23073
+ logistics_cart_plan_status: {
23074
+ Args: {
23075
+ p_ref: string;
23076
+ };
23077
+ Returns: import("./types").Json;
23078
+ };
22952
23079
  logistics_cart_seq: {
22953
23080
  Args: {
22954
23081
  p_order_uuid?: string;
@@ -23482,6 +23609,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23482
23609
  };
23483
23610
  Returns: boolean;
23484
23611
  };
23612
+ logistics_link_order_items: {
23613
+ Args: {
23614
+ p_order?: string;
23615
+ };
23616
+ Returns: import("./types").Json;
23617
+ };
23485
23618
  logistics_live_carriers: {
23486
23619
  Args: {
23487
23620
  p_order_ref: string;
@@ -23508,6 +23641,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23508
23641
  };
23509
23642
  Returns: string;
23510
23643
  };
23644
+ logistics_normalize_product_label: {
23645
+ Args: {
23646
+ p_label: string;
23647
+ };
23648
+ Returns: string;
23649
+ };
23511
23650
  logistics_not_past: {
23512
23651
  Args: {
23513
23652
  p_ts: string;
@@ -23696,6 +23835,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23696
23835
  Args: never;
23697
23836
  Returns: number;
23698
23837
  };
23838
+ logistics_plan_retry: {
23839
+ Args: {
23840
+ p_order_ids: string[];
23841
+ };
23842
+ Returns: number;
23843
+ };
23699
23844
  logistics_plan_setting: {
23700
23845
  Args: {
23701
23846
  p_default: number;
@@ -23802,6 +23947,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23802
23947
  };
23803
23948
  Returns: import("./types").Json;
23804
23949
  };
23950
+ logistics_resolve_product_id: {
23951
+ Args: {
23952
+ p_label: string;
23953
+ };
23954
+ Returns: string;
23955
+ };
23805
23956
  logistics_resolve_settings: {
23806
23957
  Args: {
23807
23958
  p_config_id: string;
@@ -23931,6 +24082,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23931
24082
  };
23932
24083
  Returns: number;
23933
24084
  };
24085
+ logistics_tick_ping: {
24086
+ Args: never;
24087
+ Returns: string;
24088
+ };
23934
24089
  logistics_upsert_task: {
23935
24090
  Args: {
23936
24091
  p_buffer_ref: string;
@@ -24498,6 +24653,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
24498
24653
  };
24499
24654
  Returns: undefined;
24500
24655
  };
24656
+ pick_report_missing_cart_plan: {
24657
+ Args: never;
24658
+ Returns: import("./types").Json;
24659
+ };
24501
24660
  pick_reprint_cart: {
24502
24661
  Args: {
24503
24662
  _cart_id: string;
@@ -25038,6 +25197,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
25038
25197
  };
25039
25198
  Returns: boolean;
25040
25199
  };
25200
+ release_job_lock: {
25201
+ Args: {
25202
+ _key: string;
25203
+ };
25204
+ Returns: undefined;
25205
+ };
25041
25206
  release_local_pdf_job: {
25042
25207
  Args: {
25043
25208
  _job_id: string;
@@ -25726,6 +25891,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
25726
25891
  row_count: number;
25727
25892
  }[];
25728
25893
  };
25894
+ try_acquire_job_lock: {
25895
+ Args: {
25896
+ _key: string;
25897
+ _owner?: string;
25898
+ _seconds?: number;
25899
+ };
25900
+ Returns: boolean;
25901
+ };
25729
25902
  try_debtor_lock: {
25730
25903
  Args: {
25731
25904
  _group_key: string;