@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
@@ -2209,6 +2209,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2209
2209
  created_at: string;
2210
2210
  currency: string;
2211
2211
  distribute_over: string | null;
2212
+ external_id: string | null;
2213
+ external_synced_at: string | null;
2212
2214
  group_type: string;
2213
2215
  handling_fee: number | null;
2214
2216
  id: string;
@@ -2221,6 +2223,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2221
2223
  rounding: string;
2222
2224
  rounding_step: number;
2223
2225
  sort_order: number;
2226
+ source: string;
2224
2227
  unit: string;
2225
2228
  updated_at: string;
2226
2229
  };
@@ -2231,6 +2234,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2231
2234
  created_at?: string;
2232
2235
  currency?: string;
2233
2236
  distribute_over?: string | null;
2237
+ external_id?: string | null;
2238
+ external_synced_at?: string | null;
2234
2239
  group_type?: string;
2235
2240
  handling_fee?: number | null;
2236
2241
  id?: string;
@@ -2243,6 +2248,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2243
2248
  rounding?: string;
2244
2249
  rounding_step?: number;
2245
2250
  sort_order?: number;
2251
+ source?: string;
2246
2252
  unit?: string;
2247
2253
  updated_at?: string;
2248
2254
  };
@@ -2253,6 +2259,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2253
2259
  created_at?: string;
2254
2260
  currency?: string;
2255
2261
  distribute_over?: string | null;
2262
+ external_id?: string | null;
2263
+ external_synced_at?: string | null;
2256
2264
  group_type?: string;
2257
2265
  handling_fee?: number | null;
2258
2266
  id?: string;
@@ -2265,6 +2273,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
2265
2273
  rounding?: string;
2266
2274
  rounding_step?: number;
2267
2275
  sort_order?: number;
2276
+ source?: string;
2268
2277
  unit?: string;
2269
2278
  updated_at?: string;
2270
2279
  };
@@ -9128,6 +9137,30 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
9128
9137
  referencedColumns: ["id"];
9129
9138
  }];
9130
9139
  };
9140
+ job_locks: {
9141
+ Row: {
9142
+ created_at: string;
9143
+ lock_key: string;
9144
+ locked_until: string;
9145
+ owner: string | null;
9146
+ updated_at: string;
9147
+ };
9148
+ Insert: {
9149
+ created_at?: string;
9150
+ lock_key: string;
9151
+ locked_until: string;
9152
+ owner?: string | null;
9153
+ updated_at?: string;
9154
+ };
9155
+ Update: {
9156
+ created_at?: string;
9157
+ lock_key?: string;
9158
+ locked_until?: string;
9159
+ owner?: string | null;
9160
+ updated_at?: string;
9161
+ };
9162
+ Relationships: [];
9163
+ };
9131
9164
  layout_logos: {
9132
9165
  Row: {
9133
9166
  bestand_url: string;
@@ -10290,6 +10323,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10290
10323
  next_attempt_at: string;
10291
10324
  order_id: string;
10292
10325
  reason: string;
10326
+ reason_code: string | null;
10293
10327
  status: string;
10294
10328
  updated_at: string;
10295
10329
  };
@@ -10302,6 +10336,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10302
10336
  next_attempt_at?: string;
10303
10337
  order_id: string;
10304
10338
  reason?: string;
10339
+ reason_code?: string | null;
10305
10340
  status?: string;
10306
10341
  updated_at?: string;
10307
10342
  };
@@ -10314,6 +10349,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10314
10349
  next_attempt_at?: string;
10315
10350
  order_id?: string;
10316
10351
  reason?: string;
10352
+ reason_code?: string | null;
10317
10353
  status?: string;
10318
10354
  updated_at?: string;
10319
10355
  };
@@ -11018,6 +11054,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
11018
11054
  referencedColumns: ["id"];
11019
11055
  }];
11020
11056
  };
11057
+ logistics_tick_heartbeat: {
11058
+ Row: {
11059
+ id: boolean;
11060
+ last_tick_at: string;
11061
+ };
11062
+ Insert: {
11063
+ id?: boolean;
11064
+ last_tick_at?: string;
11065
+ };
11066
+ Update: {
11067
+ id?: boolean;
11068
+ last_tick_at?: string;
11069
+ };
11070
+ Relationships: [];
11071
+ };
11021
11072
  logistics_variables: {
11022
11073
  Row: {
11023
11074
  created_at: string;
@@ -22900,6 +22951,30 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22900
22951
  };
22901
22952
  Returns: import("../integrations/supabase/types").Json;
22902
22953
  };
22954
+ logistics_block_reason_code: {
22955
+ Args: {
22956
+ p_details?: import("../integrations/supabase/types").Json;
22957
+ p_reason: string;
22958
+ };
22959
+ Returns: string;
22960
+ };
22961
+ logistics_blocked_orders: {
22962
+ Args: never;
22963
+ Returns: {
22964
+ attempts: number;
22965
+ blocked_since: string;
22966
+ delivery_date: string;
22967
+ order_id: string;
22968
+ order_ref: string;
22969
+ queue_id: string;
22970
+ reason: string;
22971
+ reason_code: string;
22972
+ }[];
22973
+ };
22974
+ logistics_blocked_overview: {
22975
+ Args: never;
22976
+ Returns: import("../integrations/supabase/types").Json;
22977
+ };
22903
22978
  logistics_buffer_criteria: {
22904
22979
  Args: {
22905
22980
  p_settings: import("../integrations/supabase/types").Json;
@@ -22914,6 +22989,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
22914
22989
  };
22915
22990
  Returns: import("../integrations/supabase/types").Json;
22916
22991
  };
22992
+ logistics_buffer_detach_late_orders: {
22993
+ Args: {
22994
+ p_buffer?: string;
22995
+ };
22996
+ Returns: import("../integrations/supabase/types").Json;
22997
+ };
22998
+ logistics_buffer_frozen_order: {
22999
+ Args: {
23000
+ p_order_id: string;
23001
+ };
23002
+ Returns: boolean;
23003
+ };
23004
+ logistics_buffer_handled: {
23005
+ Args: {
23006
+ p_buffer: string;
23007
+ };
23008
+ Returns: boolean;
23009
+ };
23010
+ logistics_buffer_notify: {
23011
+ Args: {
23012
+ p_event_type: string;
23013
+ p_idempotency_key: string;
23014
+ p_order_ref: string;
23015
+ p_payload: import("../integrations/supabase/types").Json;
23016
+ };
23017
+ Returns: string;
23018
+ };
23019
+ logistics_buffer_open_key: {
23020
+ Args: {
23021
+ p_base_key: string;
23022
+ };
23023
+ Returns: string;
23024
+ };
22917
23025
  logistics_buffer_simulate: {
22918
23026
  Args: {
22919
23027
  p_orders?: import("../integrations/supabase/types").Json;
@@ -23003,6 +23111,25 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23003
23111
  Args: never;
23004
23112
  Returns: import("../integrations/supabase/types").Json;
23005
23113
  };
23114
+ logistics_cart_plan_overview: {
23115
+ Args: {
23116
+ p_days?: number;
23117
+ };
23118
+ Returns: {
23119
+ cart_total: number;
23120
+ delivery_date: string;
23121
+ order_ref: string;
23122
+ plan_ready: boolean;
23123
+ reason: string;
23124
+ released: boolean;
23125
+ }[];
23126
+ };
23127
+ logistics_cart_plan_status: {
23128
+ Args: {
23129
+ p_ref: string;
23130
+ };
23131
+ Returns: import("../integrations/supabase/types").Json;
23132
+ };
23006
23133
  logistics_cart_seq: {
23007
23134
  Args: {
23008
23135
  p_order_uuid?: string;
@@ -23536,6 +23663,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23536
23663
  };
23537
23664
  Returns: boolean;
23538
23665
  };
23666
+ logistics_link_order_items: {
23667
+ Args: {
23668
+ p_order?: string;
23669
+ };
23670
+ Returns: import("../integrations/supabase/types").Json;
23671
+ };
23539
23672
  logistics_live_carriers: {
23540
23673
  Args: {
23541
23674
  p_order_ref: string;
@@ -23562,6 +23695,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23562
23695
  };
23563
23696
  Returns: string;
23564
23697
  };
23698
+ logistics_normalize_product_label: {
23699
+ Args: {
23700
+ p_label: string;
23701
+ };
23702
+ Returns: string;
23703
+ };
23565
23704
  logistics_not_past: {
23566
23705
  Args: {
23567
23706
  p_ts: string;
@@ -23750,6 +23889,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23750
23889
  Args: never;
23751
23890
  Returns: number;
23752
23891
  };
23892
+ logistics_plan_retry: {
23893
+ Args: {
23894
+ p_order_ids: string[];
23895
+ };
23896
+ Returns: number;
23897
+ };
23753
23898
  logistics_plan_setting: {
23754
23899
  Args: {
23755
23900
  p_default: number;
@@ -23856,6 +24001,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23856
24001
  };
23857
24002
  Returns: import("../integrations/supabase/types").Json;
23858
24003
  };
24004
+ logistics_resolve_product_id: {
24005
+ Args: {
24006
+ p_label: string;
24007
+ };
24008
+ Returns: string;
24009
+ };
23859
24010
  logistics_resolve_settings: {
23860
24011
  Args: {
23861
24012
  p_config_id: string;
@@ -23985,6 +24136,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
23985
24136
  };
23986
24137
  Returns: number;
23987
24138
  };
24139
+ logistics_tick_ping: {
24140
+ Args: never;
24141
+ Returns: string;
24142
+ };
23988
24143
  logistics_upsert_task: {
23989
24144
  Args: {
23990
24145
  p_buffer_ref: string;
@@ -24552,6 +24707,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
24552
24707
  };
24553
24708
  Returns: undefined;
24554
24709
  };
24710
+ pick_report_missing_cart_plan: {
24711
+ Args: never;
24712
+ Returns: import("../integrations/supabase/types").Json;
24713
+ };
24555
24714
  pick_reprint_cart: {
24556
24715
  Args: {
24557
24716
  _cart_id: string;
@@ -25092,6 +25251,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
25092
25251
  };
25093
25252
  Returns: boolean;
25094
25253
  };
25254
+ release_job_lock: {
25255
+ Args: {
25256
+ _key: string;
25257
+ };
25258
+ Returns: undefined;
25259
+ };
25095
25260
  release_local_pdf_job: {
25096
25261
  Args: {
25097
25262
  _job_id: string;
@@ -25780,6 +25945,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
25780
25945
  row_count: number;
25781
25946
  }[];
25782
25947
  };
25948
+ try_acquire_job_lock: {
25949
+ Args: {
25950
+ _key: string;
25951
+ _owner?: string;
25952
+ _seconds?: number;
25953
+ };
25954
+ Returns: boolean;
25955
+ };
25783
25956
  try_debtor_lock: {
25784
25957
  Args: {
25785
25958
  _group_key: string;
@@ -25931,6 +26104,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
25931
26104
  export interface KnownOrderRef {
25932
26105
  id: string;
25933
26106
  orderNumber: string | null;
26107
+ /** Status zoals de Verkoop-module hem kent. */
26108
+ status: string | null;
25934
26109
  }
25935
26110
  /**
25936
26111
  * Alle orders die in de Verkoop-module open of net afgehandeld zijn. Deze lijst
@@ -28094,6 +28269,8 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
28094
28269
  created_at: string;
28095
28270
  currency: string;
28096
28271
  distribute_over: string | null;
28272
+ external_id: string | null;
28273
+ external_synced_at: string | null;
28097
28274
  group_type: string;
28098
28275
  handling_fee: number | null;
28099
28276
  id: string;
@@ -28106,6 +28283,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
28106
28283
  rounding: string;
28107
28284
  rounding_step: number;
28108
28285
  sort_order: number;
28286
+ source: string;
28109
28287
  unit: string;
28110
28288
  updated_at: string;
28111
28289
  };
@@ -28116,6 +28294,8 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
28116
28294
  created_at?: string;
28117
28295
  currency?: string;
28118
28296
  distribute_over?: string | null;
28297
+ external_id?: string | null;
28298
+ external_synced_at?: string | null;
28119
28299
  group_type?: string;
28120
28300
  handling_fee?: number | null;
28121
28301
  id?: string;
@@ -28128,6 +28308,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
28128
28308
  rounding?: string;
28129
28309
  rounding_step?: number;
28130
28310
  sort_order?: number;
28311
+ source?: string;
28131
28312
  unit?: string;
28132
28313
  updated_at?: string;
28133
28314
  };
@@ -28138,6 +28319,8 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
28138
28319
  created_at?: string;
28139
28320
  currency?: string;
28140
28321
  distribute_over?: string | null;
28322
+ external_id?: string | null;
28323
+ external_synced_at?: string | null;
28141
28324
  group_type?: string;
28142
28325
  handling_fee?: number | null;
28143
28326
  id?: string;
@@ -28150,6 +28333,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
28150
28333
  rounding?: string;
28151
28334
  rounding_step?: number;
28152
28335
  sort_order?: number;
28336
+ source?: string;
28153
28337
  unit?: string;
28154
28338
  updated_at?: string;
28155
28339
  };
@@ -35013,6 +35197,30 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
35013
35197
  referencedColumns: ["id"];
35014
35198
  }];
35015
35199
  };
35200
+ job_locks: {
35201
+ Row: {
35202
+ created_at: string;
35203
+ lock_key: string;
35204
+ locked_until: string;
35205
+ owner: string | null;
35206
+ updated_at: string;
35207
+ };
35208
+ Insert: {
35209
+ created_at?: string;
35210
+ lock_key: string;
35211
+ locked_until: string;
35212
+ owner?: string | null;
35213
+ updated_at?: string;
35214
+ };
35215
+ Update: {
35216
+ created_at?: string;
35217
+ lock_key?: string;
35218
+ locked_until?: string;
35219
+ owner?: string | null;
35220
+ updated_at?: string;
35221
+ };
35222
+ Relationships: [];
35223
+ };
35016
35224
  layout_logos: {
35017
35225
  Row: {
35018
35226
  bestand_url: string;
@@ -36175,6 +36383,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
36175
36383
  next_attempt_at: string;
36176
36384
  order_id: string;
36177
36385
  reason: string;
36386
+ reason_code: string | null;
36178
36387
  status: string;
36179
36388
  updated_at: string;
36180
36389
  };
@@ -36187,6 +36396,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
36187
36396
  next_attempt_at?: string;
36188
36397
  order_id: string;
36189
36398
  reason?: string;
36399
+ reason_code?: string | null;
36190
36400
  status?: string;
36191
36401
  updated_at?: string;
36192
36402
  };
@@ -36199,6 +36409,7 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
36199
36409
  next_attempt_at?: string;
36200
36410
  order_id?: string;
36201
36411
  reason?: string;
36412
+ reason_code?: string | null;
36202
36413
  status?: string;
36203
36414
  updated_at?: string;
36204
36415
  };
@@ -36903,6 +37114,21 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
36903
37114
  referencedColumns: ["id"];
36904
37115
  }];
36905
37116
  };
37117
+ logistics_tick_heartbeat: {
37118
+ Row: {
37119
+ id: boolean;
37120
+ last_tick_at: string;
37121
+ };
37122
+ Insert: {
37123
+ id?: boolean;
37124
+ last_tick_at?: string;
37125
+ };
37126
+ Update: {
37127
+ id?: boolean;
37128
+ last_tick_at?: string;
37129
+ };
37130
+ Relationships: [];
37131
+ };
36906
37132
  logistics_variables: {
36907
37133
  Row: {
36908
37134
  created_at: string;
@@ -48785,6 +49011,30 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
48785
49011
  };
48786
49012
  Returns: import("../integrations/supabase/types").Json;
48787
49013
  };
49014
+ logistics_block_reason_code: {
49015
+ Args: {
49016
+ p_details?: import("../integrations/supabase/types").Json;
49017
+ p_reason: string;
49018
+ };
49019
+ Returns: string;
49020
+ };
49021
+ logistics_blocked_orders: {
49022
+ Args: never;
49023
+ Returns: {
49024
+ attempts: number;
49025
+ blocked_since: string;
49026
+ delivery_date: string;
49027
+ order_id: string;
49028
+ order_ref: string;
49029
+ queue_id: string;
49030
+ reason: string;
49031
+ reason_code: string;
49032
+ }[];
49033
+ };
49034
+ logistics_blocked_overview: {
49035
+ Args: never;
49036
+ Returns: import("../integrations/supabase/types").Json;
49037
+ };
48788
49038
  logistics_buffer_criteria: {
48789
49039
  Args: {
48790
49040
  p_settings: import("../integrations/supabase/types").Json;
@@ -48799,6 +49049,39 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
48799
49049
  };
48800
49050
  Returns: import("../integrations/supabase/types").Json;
48801
49051
  };
49052
+ logistics_buffer_detach_late_orders: {
49053
+ Args: {
49054
+ p_buffer?: string;
49055
+ };
49056
+ Returns: import("../integrations/supabase/types").Json;
49057
+ };
49058
+ logistics_buffer_frozen_order: {
49059
+ Args: {
49060
+ p_order_id: string;
49061
+ };
49062
+ Returns: boolean;
49063
+ };
49064
+ logistics_buffer_handled: {
49065
+ Args: {
49066
+ p_buffer: string;
49067
+ };
49068
+ Returns: boolean;
49069
+ };
49070
+ logistics_buffer_notify: {
49071
+ Args: {
49072
+ p_event_type: string;
49073
+ p_idempotency_key: string;
49074
+ p_order_ref: string;
49075
+ p_payload: import("../integrations/supabase/types").Json;
49076
+ };
49077
+ Returns: string;
49078
+ };
49079
+ logistics_buffer_open_key: {
49080
+ Args: {
49081
+ p_base_key: string;
49082
+ };
49083
+ Returns: string;
49084
+ };
48802
49085
  logistics_buffer_simulate: {
48803
49086
  Args: {
48804
49087
  p_orders?: import("../integrations/supabase/types").Json;
@@ -48888,6 +49171,25 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
48888
49171
  Args: never;
48889
49172
  Returns: import("../integrations/supabase/types").Json;
48890
49173
  };
49174
+ logistics_cart_plan_overview: {
49175
+ Args: {
49176
+ p_days?: number;
49177
+ };
49178
+ Returns: {
49179
+ cart_total: number;
49180
+ delivery_date: string;
49181
+ order_ref: string;
49182
+ plan_ready: boolean;
49183
+ reason: string;
49184
+ released: boolean;
49185
+ }[];
49186
+ };
49187
+ logistics_cart_plan_status: {
49188
+ Args: {
49189
+ p_ref: string;
49190
+ };
49191
+ Returns: import("../integrations/supabase/types").Json;
49192
+ };
48891
49193
  logistics_cart_seq: {
48892
49194
  Args: {
48893
49195
  p_order_uuid?: string;
@@ -49421,6 +49723,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49421
49723
  };
49422
49724
  Returns: boolean;
49423
49725
  };
49726
+ logistics_link_order_items: {
49727
+ Args: {
49728
+ p_order?: string;
49729
+ };
49730
+ Returns: import("../integrations/supabase/types").Json;
49731
+ };
49424
49732
  logistics_live_carriers: {
49425
49733
  Args: {
49426
49734
  p_order_ref: string;
@@ -49447,6 +49755,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49447
49755
  };
49448
49756
  Returns: string;
49449
49757
  };
49758
+ logistics_normalize_product_label: {
49759
+ Args: {
49760
+ p_label: string;
49761
+ };
49762
+ Returns: string;
49763
+ };
49450
49764
  logistics_not_past: {
49451
49765
  Args: {
49452
49766
  p_ts: string;
@@ -49635,6 +49949,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49635
49949
  Args: never;
49636
49950
  Returns: number;
49637
49951
  };
49952
+ logistics_plan_retry: {
49953
+ Args: {
49954
+ p_order_ids: string[];
49955
+ };
49956
+ Returns: number;
49957
+ };
49638
49958
  logistics_plan_setting: {
49639
49959
  Args: {
49640
49960
  p_default: number;
@@ -49741,6 +50061,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49741
50061
  };
49742
50062
  Returns: import("../integrations/supabase/types").Json;
49743
50063
  };
50064
+ logistics_resolve_product_id: {
50065
+ Args: {
50066
+ p_label: string;
50067
+ };
50068
+ Returns: string;
50069
+ };
49744
50070
  logistics_resolve_settings: {
49745
50071
  Args: {
49746
50072
  p_config_id: string;
@@ -49870,6 +50196,10 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
49870
50196
  };
49871
50197
  Returns: number;
49872
50198
  };
50199
+ logistics_tick_ping: {
50200
+ Args: never;
50201
+ Returns: string;
50202
+ };
49873
50203
  logistics_upsert_task: {
49874
50204
  Args: {
49875
50205
  p_buffer_ref: string;
@@ -50437,6 +50767,10 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
50437
50767
  };
50438
50768
  Returns: undefined;
50439
50769
  };
50770
+ pick_report_missing_cart_plan: {
50771
+ Args: never;
50772
+ Returns: import("../integrations/supabase/types").Json;
50773
+ };
50440
50774
  pick_reprint_cart: {
50441
50775
  Args: {
50442
50776
  _cart_id: string;
@@ -50977,6 +51311,12 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
50977
51311
  };
50978
51312
  Returns: boolean;
50979
51313
  };
51314
+ release_job_lock: {
51315
+ Args: {
51316
+ _key: string;
51317
+ };
51318
+ Returns: undefined;
51319
+ };
50980
51320
  release_local_pdf_job: {
50981
51321
  Args: {
50982
51322
  _job_id: string;
@@ -51665,6 +52005,14 @@ export declare const listKnownOrders: import("@tanstack/start-client-core").Opti
51665
52005
  row_count: number;
51666
52006
  }[];
51667
52007
  };
52008
+ try_acquire_job_lock: {
52009
+ Args: {
52010
+ _key: string;
52011
+ _owner?: string;
52012
+ _seconds?: number;
52013
+ };
52014
+ Returns: boolean;
52015
+ };
51668
52016
  try_debtor_lock: {
51669
52017
  Args: {
51670
52018
  _group_key: string;