@flowselections/logistiek-engine 1.0.29 → 1.0.31

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 (46) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
  3. package/dist-lib/components/LogistiekEnginePage.js +2 -1
  4. package/dist-lib/components/WerkwijzeHerindelingCard.d.ts +2 -0
  5. package/dist-lib/components/WerkwijzeHerindelingCard.d.ts.map +1 -0
  6. package/dist-lib/components/WerkwijzeHerindelingCard.js +36 -0
  7. package/dist-lib/hooks/useRuleEngine.d.ts.map +1 -1
  8. package/dist-lib/hooks/useRuleEngine.js +7 -4
  9. package/dist-lib/hooks/useWerkwijzeStatus.d.ts +17 -0
  10. package/dist-lib/hooks/useWerkwijzeStatus.d.ts.map +1 -0
  11. package/dist-lib/hooks/useWerkwijzeStatus.js +58 -0
  12. package/dist-lib/index.d.ts +2 -0
  13. package/dist-lib/index.d.ts.map +1 -1
  14. package/dist-lib/index.js +2 -0
  15. package/dist-lib/integrations/supabase/auth-middleware.d.ts +154 -0
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.d.ts +1516 -159
  18. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts +154 -0
  20. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/moduleClient.d.ts +154 -0
  22. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/types.d.ts +154 -0
  24. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  25. package/dist-lib/lib/floridayDocuments.functions.d.ts +462 -0
  26. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floridayDocuments.server.d.ts +7 -1
  28. package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
  29. package/dist-lib/lib/floridayDocuments.server.js +25 -1
  30. package/dist-lib/lib/floridayPush.functions.d.ts +154 -0
  31. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  33. package/dist-lib/lib/floridayPush.server.js +28 -0
  34. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  35. package/dist-lib/lib/handlers/logistics-tick.server.js +14 -0
  36. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +770 -0
  37. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +308 -0
  39. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +154 -0
  41. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  43. package/dist-lib/lib/modulePrompts.js +2613 -2406
  44. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  45. package/dist-lib/lib/ruleEngineSchema.js +7 -0
  46. package/package.json +1 -1
@@ -2155,6 +2155,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
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 getFloridayConnection: import("@tanstack/start-client-core"
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 getFloridayConnection: import("@tanstack/start-client-core"
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 getFloridayConnection: import("@tanstack/start-client-core"
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 getFloridayConnection: import("@tanstack/start-client-core"
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 getFloridayConnection: import("@tanstack/start-client-core"
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 getFloridayConnection: import("@tanstack/start-client-core"
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;
@@ -13619,6 +13652,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
13619
13652
  };
13620
13653
  Relationships: [];
13621
13654
  };
13655
+ pick_buffer_event_cursor: {
13656
+ Row: {
13657
+ created_at: string;
13658
+ id: boolean;
13659
+ last_event_at: string;
13660
+ updated_at: string;
13661
+ };
13662
+ Insert: {
13663
+ created_at?: string;
13664
+ id?: boolean;
13665
+ last_event_at?: string;
13666
+ updated_at?: string;
13667
+ };
13668
+ Update: {
13669
+ created_at?: string;
13670
+ id?: boolean;
13671
+ last_event_at?: string;
13672
+ updated_at?: string;
13673
+ };
13674
+ Relationships: [];
13675
+ };
13622
13676
  pick_countries: {
13623
13677
  Row: {
13624
13678
  active: boolean;
@@ -22135,6 +22189,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
22135
22189
  };
22136
22190
  Returns: boolean;
22137
22191
  };
22192
+ floriday_adopt_connection: {
22193
+ Args: {
22194
+ p_new: string;
22195
+ p_old: string;
22196
+ };
22197
+ Returns: import("../integrations/supabase/types").Json;
22198
+ };
22199
+ floriday_autoheal_connections: {
22200
+ Args: never;
22201
+ Returns: import("../integrations/supabase/types").Json;
22202
+ };
22138
22203
  floriday_capture_stock_snapshot: {
22139
22204
  Args: never;
22140
22205
  Returns: number;
@@ -22192,6 +22257,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
22192
22257
  };
22193
22258
  Returns: undefined;
22194
22259
  };
22260
+ floriday_relink_products: {
22261
+ Args: {
22262
+ p_connection_id?: string;
22263
+ };
22264
+ Returns: import("../integrations/supabase/types").Json;
22265
+ };
22195
22266
  floriday_requeue_dead_letters: {
22196
22267
  Args: {
22197
22268
  p_connection_id?: string;
@@ -22813,6 +22884,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
22813
22884
  };
22814
22885
  Returns: string;
22815
22886
  };
22887
+ logistics_active_layout_method: {
22888
+ Args: never;
22889
+ Returns: string;
22890
+ };
22816
22891
  logistics_active_pick_workdays: {
22817
22892
  Args: never;
22818
22893
  Returns: string[];
@@ -22902,6 +22977,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
22902
22977
  };
22903
22978
  Returns: import("../integrations/supabase/types").Json;
22904
22979
  };
22980
+ logistics_buffer_detach_late_orders: {
22981
+ Args: {
22982
+ p_buffer?: string;
22983
+ };
22984
+ Returns: import("../integrations/supabase/types").Json;
22985
+ };
22986
+ logistics_buffer_frozen_order: {
22987
+ Args: {
22988
+ p_order_id: string;
22989
+ };
22990
+ Returns: boolean;
22991
+ };
22992
+ logistics_buffer_handled: {
22993
+ Args: {
22994
+ p_buffer: string;
22995
+ };
22996
+ Returns: boolean;
22997
+ };
22998
+ logistics_buffer_notify: {
22999
+ Args: {
23000
+ p_event_type: string;
23001
+ p_idempotency_key: string;
23002
+ p_order_ref: string;
23003
+ p_payload: import("../integrations/supabase/types").Json;
23004
+ };
23005
+ Returns: string;
23006
+ };
23007
+ logistics_buffer_open_key: {
23008
+ Args: {
23009
+ p_base_key: string;
23010
+ };
23011
+ Returns: string;
23012
+ };
22905
23013
  logistics_buffer_simulate: {
22906
23014
  Args: {
22907
23015
  p_orders?: import("../integrations/supabase/types").Json;
@@ -23543,6 +23651,16 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23543
23651
  };
23544
23652
  Returns: boolean;
23545
23653
  };
23654
+ logistics_layout_method_status: {
23655
+ Args: never;
23656
+ Returns: import("../integrations/supabase/types").Json;
23657
+ };
23658
+ logistics_link_order_items: {
23659
+ Args: {
23660
+ p_order?: string;
23661
+ };
23662
+ Returns: import("../integrations/supabase/types").Json;
23663
+ };
23546
23664
  logistics_live_carriers: {
23547
23665
  Args: {
23548
23666
  p_order_ref: string;
@@ -23569,6 +23687,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23569
23687
  };
23570
23688
  Returns: string;
23571
23689
  };
23690
+ logistics_normalize_product_label: {
23691
+ Args: {
23692
+ p_label: string;
23693
+ };
23694
+ Returns: string;
23695
+ };
23572
23696
  logistics_not_past: {
23573
23697
  Args: {
23574
23698
  p_ts: string;
@@ -23816,6 +23940,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23816
23940
  };
23817
23941
  Returns: import("../integrations/supabase/types").Json;
23818
23942
  };
23943
+ logistics_replan_all: {
23944
+ Args: {
23945
+ p_reason?: string;
23946
+ };
23947
+ Returns: import("../integrations/supabase/types").Json;
23948
+ };
23819
23949
  logistics_report_delay: {
23820
23950
  Args: {
23821
23951
  p_expected_date?: string;
@@ -23869,6 +23999,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23869
23999
  };
23870
24000
  Returns: import("../integrations/supabase/types").Json;
23871
24001
  };
24002
+ logistics_resolve_product_id: {
24003
+ Args: {
24004
+ p_label: string;
24005
+ };
24006
+ Returns: string;
24007
+ };
23872
24008
  logistics_resolve_settings: {
23873
24009
  Args: {
23874
24010
  p_config_id: string;
@@ -24186,6 +24322,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
24186
24322
  online: boolean;
24187
24323
  }[];
24188
24324
  };
24325
+ pick_apply_buffer_events: {
24326
+ Args: never;
24327
+ Returns: import("../integrations/supabase/types").Json;
24328
+ };
24189
24329
  pick_available_pick_days: {
24190
24330
  Args: {
24191
24331
  _max_days?: number;
@@ -25113,6 +25253,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
25113
25253
  };
25114
25254
  Returns: boolean;
25115
25255
  };
25256
+ release_job_lock: {
25257
+ Args: {
25258
+ _key: string;
25259
+ };
25260
+ Returns: undefined;
25261
+ };
25116
25262
  release_local_pdf_job: {
25117
25263
  Args: {
25118
25264
  _job_id: string;
@@ -25801,6 +25947,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
25801
25947
  row_count: number;
25802
25948
  }[];
25803
25949
  };
25950
+ try_acquire_job_lock: {
25951
+ Args: {
25952
+ _key: string;
25953
+ _owner?: string;
25954
+ _seconds?: number;
25955
+ };
25956
+ Returns: boolean;
25957
+ };
25804
25958
  try_debtor_lock: {
25805
25959
  Args: {
25806
25960
  _group_key: string;
@@ -28106,6 +28260,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
28106
28260
  created_at: string;
28107
28261
  currency: string;
28108
28262
  distribute_over: string | null;
28263
+ external_id: string | null;
28264
+ external_synced_at: string | null;
28109
28265
  group_type: string;
28110
28266
  handling_fee: number | null;
28111
28267
  id: string;
@@ -28118,6 +28274,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
28118
28274
  rounding: string;
28119
28275
  rounding_step: number;
28120
28276
  sort_order: number;
28277
+ source: string;
28121
28278
  unit: string;
28122
28279
  updated_at: string;
28123
28280
  };
@@ -28128,6 +28285,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
28128
28285
  created_at?: string;
28129
28286
  currency?: string;
28130
28287
  distribute_over?: string | null;
28288
+ external_id?: string | null;
28289
+ external_synced_at?: string | null;
28131
28290
  group_type?: string;
28132
28291
  handling_fee?: number | null;
28133
28292
  id?: string;
@@ -28140,6 +28299,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
28140
28299
  rounding?: string;
28141
28300
  rounding_step?: number;
28142
28301
  sort_order?: number;
28302
+ source?: string;
28143
28303
  unit?: string;
28144
28304
  updated_at?: string;
28145
28305
  };
@@ -28150,6 +28310,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
28150
28310
  created_at?: string;
28151
28311
  currency?: string;
28152
28312
  distribute_over?: string | null;
28313
+ external_id?: string | null;
28314
+ external_synced_at?: string | null;
28153
28315
  group_type?: string;
28154
28316
  handling_fee?: number | null;
28155
28317
  id?: string;
@@ -28162,6 +28324,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
28162
28324
  rounding?: string;
28163
28325
  rounding_step?: number;
28164
28326
  sort_order?: number;
28327
+ source?: string;
28165
28328
  unit?: string;
28166
28329
  updated_at?: string;
28167
28330
  };
@@ -35025,6 +35188,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
35025
35188
  referencedColumns: ["id"];
35026
35189
  }];
35027
35190
  };
35191
+ job_locks: {
35192
+ Row: {
35193
+ created_at: string;
35194
+ lock_key: string;
35195
+ locked_until: string;
35196
+ owner: string | null;
35197
+ updated_at: string;
35198
+ };
35199
+ Insert: {
35200
+ created_at?: string;
35201
+ lock_key: string;
35202
+ locked_until: string;
35203
+ owner?: string | null;
35204
+ updated_at?: string;
35205
+ };
35206
+ Update: {
35207
+ created_at?: string;
35208
+ lock_key?: string;
35209
+ locked_until?: string;
35210
+ owner?: string | null;
35211
+ updated_at?: string;
35212
+ };
35213
+ Relationships: [];
35214
+ };
35028
35215
  layout_logos: {
35029
35216
  Row: {
35030
35217
  bestand_url: string;
@@ -39570,6 +39757,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
39570
39757
  };
39571
39758
  Relationships: [];
39572
39759
  };
39760
+ pick_buffer_event_cursor: {
39761
+ Row: {
39762
+ created_at: string;
39763
+ id: boolean;
39764
+ last_event_at: string;
39765
+ updated_at: string;
39766
+ };
39767
+ Insert: {
39768
+ created_at?: string;
39769
+ id?: boolean;
39770
+ last_event_at?: string;
39771
+ updated_at?: string;
39772
+ };
39773
+ Update: {
39774
+ created_at?: string;
39775
+ id?: boolean;
39776
+ last_event_at?: string;
39777
+ updated_at?: string;
39778
+ };
39779
+ Relationships: [];
39780
+ };
39573
39781
  pick_countries: {
39574
39782
  Row: {
39575
39783
  active: boolean;
@@ -48086,6 +48294,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48086
48294
  };
48087
48295
  Returns: boolean;
48088
48296
  };
48297
+ floriday_adopt_connection: {
48298
+ Args: {
48299
+ p_new: string;
48300
+ p_old: string;
48301
+ };
48302
+ Returns: import("../integrations/supabase/types").Json;
48303
+ };
48304
+ floriday_autoheal_connections: {
48305
+ Args: never;
48306
+ Returns: import("../integrations/supabase/types").Json;
48307
+ };
48089
48308
  floriday_capture_stock_snapshot: {
48090
48309
  Args: never;
48091
48310
  Returns: number;
@@ -48143,6 +48362,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48143
48362
  };
48144
48363
  Returns: undefined;
48145
48364
  };
48365
+ floriday_relink_products: {
48366
+ Args: {
48367
+ p_connection_id?: string;
48368
+ };
48369
+ Returns: import("../integrations/supabase/types").Json;
48370
+ };
48146
48371
  floriday_requeue_dead_letters: {
48147
48372
  Args: {
48148
48373
  p_connection_id?: string;
@@ -48764,6 +48989,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48764
48989
  };
48765
48990
  Returns: string;
48766
48991
  };
48992
+ logistics_active_layout_method: {
48993
+ Args: never;
48994
+ Returns: string;
48995
+ };
48767
48996
  logistics_active_pick_workdays: {
48768
48997
  Args: never;
48769
48998
  Returns: string[];
@@ -48853,6 +49082,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48853
49082
  };
48854
49083
  Returns: import("../integrations/supabase/types").Json;
48855
49084
  };
49085
+ logistics_buffer_detach_late_orders: {
49086
+ Args: {
49087
+ p_buffer?: string;
49088
+ };
49089
+ Returns: import("../integrations/supabase/types").Json;
49090
+ };
49091
+ logistics_buffer_frozen_order: {
49092
+ Args: {
49093
+ p_order_id: string;
49094
+ };
49095
+ Returns: boolean;
49096
+ };
49097
+ logistics_buffer_handled: {
49098
+ Args: {
49099
+ p_buffer: string;
49100
+ };
49101
+ Returns: boolean;
49102
+ };
49103
+ logistics_buffer_notify: {
49104
+ Args: {
49105
+ p_event_type: string;
49106
+ p_idempotency_key: string;
49107
+ p_order_ref: string;
49108
+ p_payload: import("../integrations/supabase/types").Json;
49109
+ };
49110
+ Returns: string;
49111
+ };
49112
+ logistics_buffer_open_key: {
49113
+ Args: {
49114
+ p_base_key: string;
49115
+ };
49116
+ Returns: string;
49117
+ };
48856
49118
  logistics_buffer_simulate: {
48857
49119
  Args: {
48858
49120
  p_orders?: import("../integrations/supabase/types").Json;
@@ -49494,6 +49756,16 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49494
49756
  };
49495
49757
  Returns: boolean;
49496
49758
  };
49759
+ logistics_layout_method_status: {
49760
+ Args: never;
49761
+ Returns: import("../integrations/supabase/types").Json;
49762
+ };
49763
+ logistics_link_order_items: {
49764
+ Args: {
49765
+ p_order?: string;
49766
+ };
49767
+ Returns: import("../integrations/supabase/types").Json;
49768
+ };
49497
49769
  logistics_live_carriers: {
49498
49770
  Args: {
49499
49771
  p_order_ref: string;
@@ -49520,6 +49792,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49520
49792
  };
49521
49793
  Returns: string;
49522
49794
  };
49795
+ logistics_normalize_product_label: {
49796
+ Args: {
49797
+ p_label: string;
49798
+ };
49799
+ Returns: string;
49800
+ };
49523
49801
  logistics_not_past: {
49524
49802
  Args: {
49525
49803
  p_ts: string;
@@ -49767,6 +50045,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49767
50045
  };
49768
50046
  Returns: import("../integrations/supabase/types").Json;
49769
50047
  };
50048
+ logistics_replan_all: {
50049
+ Args: {
50050
+ p_reason?: string;
50051
+ };
50052
+ Returns: import("../integrations/supabase/types").Json;
50053
+ };
49770
50054
  logistics_report_delay: {
49771
50055
  Args: {
49772
50056
  p_expected_date?: string;
@@ -49820,6 +50104,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49820
50104
  };
49821
50105
  Returns: import("../integrations/supabase/types").Json;
49822
50106
  };
50107
+ logistics_resolve_product_id: {
50108
+ Args: {
50109
+ p_label: string;
50110
+ };
50111
+ Returns: string;
50112
+ };
49823
50113
  logistics_resolve_settings: {
49824
50114
  Args: {
49825
50115
  p_config_id: string;
@@ -50137,6 +50427,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
50137
50427
  online: boolean;
50138
50428
  }[];
50139
50429
  };
50430
+ pick_apply_buffer_events: {
50431
+ Args: never;
50432
+ Returns: import("../integrations/supabase/types").Json;
50433
+ };
50140
50434
  pick_available_pick_days: {
50141
50435
  Args: {
50142
50436
  _max_days?: number;
@@ -51064,6 +51358,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
51064
51358
  };
51065
51359
  Returns: boolean;
51066
51360
  };
51361
+ release_job_lock: {
51362
+ Args: {
51363
+ _key: string;
51364
+ };
51365
+ Returns: undefined;
51366
+ };
51067
51367
  release_local_pdf_job: {
51068
51368
  Args: {
51069
51369
  _job_id: string;
@@ -51752,6 +52052,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
51752
52052
  row_count: number;
51753
52053
  }[];
51754
52054
  };
52055
+ try_acquire_job_lock: {
52056
+ Args: {
52057
+ _key: string;
52058
+ _owner?: string;
52059
+ _seconds?: number;
52060
+ };
52061
+ Returns: boolean;
52062
+ };
51755
52063
  try_debtor_lock: {
51756
52064
  Args: {
51757
52065
  _group_key: string;
@@ -54090,6 +54398,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
54090
54398
  created_at: string;
54091
54399
  currency: string;
54092
54400
  distribute_over: string | null;
54401
+ external_id: string | null;
54402
+ external_synced_at: string | null;
54093
54403
  group_type: string;
54094
54404
  handling_fee: number | null;
54095
54405
  id: string;
@@ -54102,6 +54412,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
54102
54412
  rounding: string;
54103
54413
  rounding_step: number;
54104
54414
  sort_order: number;
54415
+ source: string;
54105
54416
  unit: string;
54106
54417
  updated_at: string;
54107
54418
  };
@@ -54112,6 +54423,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
54112
54423
  created_at?: string;
54113
54424
  currency?: string;
54114
54425
  distribute_over?: string | null;
54426
+ external_id?: string | null;
54427
+ external_synced_at?: string | null;
54115
54428
  group_type?: string;
54116
54429
  handling_fee?: number | null;
54117
54430
  id?: string;
@@ -54124,6 +54437,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
54124
54437
  rounding?: string;
54125
54438
  rounding_step?: number;
54126
54439
  sort_order?: number;
54440
+ source?: string;
54127
54441
  unit?: string;
54128
54442
  updated_at?: string;
54129
54443
  };
@@ -54134,6 +54448,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
54134
54448
  created_at?: string;
54135
54449
  currency?: string;
54136
54450
  distribute_over?: string | null;
54451
+ external_id?: string | null;
54452
+ external_synced_at?: string | null;
54137
54453
  group_type?: string;
54138
54454
  handling_fee?: number | null;
54139
54455
  id?: string;
@@ -54146,6 +54462,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
54146
54462
  rounding?: string;
54147
54463
  rounding_step?: number;
54148
54464
  sort_order?: number;
54465
+ source?: string;
54149
54466
  unit?: string;
54150
54467
  updated_at?: string;
54151
54468
  };
@@ -61009,6 +61326,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
61009
61326
  referencedColumns: ["id"];
61010
61327
  }];
61011
61328
  };
61329
+ job_locks: {
61330
+ Row: {
61331
+ created_at: string;
61332
+ lock_key: string;
61333
+ locked_until: string;
61334
+ owner: string | null;
61335
+ updated_at: string;
61336
+ };
61337
+ Insert: {
61338
+ created_at?: string;
61339
+ lock_key: string;
61340
+ locked_until: string;
61341
+ owner?: string | null;
61342
+ updated_at?: string;
61343
+ };
61344
+ Update: {
61345
+ created_at?: string;
61346
+ lock_key?: string;
61347
+ locked_until?: string;
61348
+ owner?: string | null;
61349
+ updated_at?: string;
61350
+ };
61351
+ Relationships: [];
61352
+ };
61012
61353
  layout_logos: {
61013
61354
  Row: {
61014
61355
  bestand_url: string;
@@ -65554,6 +65895,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
65554
65895
  };
65555
65896
  Relationships: [];
65556
65897
  };
65898
+ pick_buffer_event_cursor: {
65899
+ Row: {
65900
+ created_at: string;
65901
+ id: boolean;
65902
+ last_event_at: string;
65903
+ updated_at: string;
65904
+ };
65905
+ Insert: {
65906
+ created_at?: string;
65907
+ id?: boolean;
65908
+ last_event_at?: string;
65909
+ updated_at?: string;
65910
+ };
65911
+ Update: {
65912
+ created_at?: string;
65913
+ id?: boolean;
65914
+ last_event_at?: string;
65915
+ updated_at?: string;
65916
+ };
65917
+ Relationships: [];
65918
+ };
65557
65919
  pick_countries: {
65558
65920
  Row: {
65559
65921
  active: boolean;
@@ -74070,6 +74432,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
74070
74432
  };
74071
74433
  Returns: boolean;
74072
74434
  };
74435
+ floriday_adopt_connection: {
74436
+ Args: {
74437
+ p_new: string;
74438
+ p_old: string;
74439
+ };
74440
+ Returns: import("../integrations/supabase/types").Json;
74441
+ };
74442
+ floriday_autoheal_connections: {
74443
+ Args: never;
74444
+ Returns: import("../integrations/supabase/types").Json;
74445
+ };
74073
74446
  floriday_capture_stock_snapshot: {
74074
74447
  Args: never;
74075
74448
  Returns: number;
@@ -74127,6 +74500,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
74127
74500
  };
74128
74501
  Returns: undefined;
74129
74502
  };
74503
+ floriday_relink_products: {
74504
+ Args: {
74505
+ p_connection_id?: string;
74506
+ };
74507
+ Returns: import("../integrations/supabase/types").Json;
74508
+ };
74130
74509
  floriday_requeue_dead_letters: {
74131
74510
  Args: {
74132
74511
  p_connection_id?: string;
@@ -74748,6 +75127,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
74748
75127
  };
74749
75128
  Returns: string;
74750
75129
  };
75130
+ logistics_active_layout_method: {
75131
+ Args: never;
75132
+ Returns: string;
75133
+ };
74751
75134
  logistics_active_pick_workdays: {
74752
75135
  Args: never;
74753
75136
  Returns: string[];
@@ -74837,6 +75220,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
74837
75220
  };
74838
75221
  Returns: import("../integrations/supabase/types").Json;
74839
75222
  };
75223
+ logistics_buffer_detach_late_orders: {
75224
+ Args: {
75225
+ p_buffer?: string;
75226
+ };
75227
+ Returns: import("../integrations/supabase/types").Json;
75228
+ };
75229
+ logistics_buffer_frozen_order: {
75230
+ Args: {
75231
+ p_order_id: string;
75232
+ };
75233
+ Returns: boolean;
75234
+ };
75235
+ logistics_buffer_handled: {
75236
+ Args: {
75237
+ p_buffer: string;
75238
+ };
75239
+ Returns: boolean;
75240
+ };
75241
+ logistics_buffer_notify: {
75242
+ Args: {
75243
+ p_event_type: string;
75244
+ p_idempotency_key: string;
75245
+ p_order_ref: string;
75246
+ p_payload: import("../integrations/supabase/types").Json;
75247
+ };
75248
+ Returns: string;
75249
+ };
75250
+ logistics_buffer_open_key: {
75251
+ Args: {
75252
+ p_base_key: string;
75253
+ };
75254
+ Returns: string;
75255
+ };
74840
75256
  logistics_buffer_simulate: {
74841
75257
  Args: {
74842
75258
  p_orders?: import("../integrations/supabase/types").Json;
@@ -75478,6 +75894,16 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
75478
75894
  };
75479
75895
  Returns: boolean;
75480
75896
  };
75897
+ logistics_layout_method_status: {
75898
+ Args: never;
75899
+ Returns: import("../integrations/supabase/types").Json;
75900
+ };
75901
+ logistics_link_order_items: {
75902
+ Args: {
75903
+ p_order?: string;
75904
+ };
75905
+ Returns: import("../integrations/supabase/types").Json;
75906
+ };
75481
75907
  logistics_live_carriers: {
75482
75908
  Args: {
75483
75909
  p_order_ref: string;
@@ -75504,6 +75930,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
75504
75930
  };
75505
75931
  Returns: string;
75506
75932
  };
75933
+ logistics_normalize_product_label: {
75934
+ Args: {
75935
+ p_label: string;
75936
+ };
75937
+ Returns: string;
75938
+ };
75507
75939
  logistics_not_past: {
75508
75940
  Args: {
75509
75941
  p_ts: string;
@@ -75751,6 +76183,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
75751
76183
  };
75752
76184
  Returns: import("../integrations/supabase/types").Json;
75753
76185
  };
76186
+ logistics_replan_all: {
76187
+ Args: {
76188
+ p_reason?: string;
76189
+ };
76190
+ Returns: import("../integrations/supabase/types").Json;
76191
+ };
75754
76192
  logistics_report_delay: {
75755
76193
  Args: {
75756
76194
  p_expected_date?: string;
@@ -75804,6 +76242,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
75804
76242
  };
75805
76243
  Returns: import("../integrations/supabase/types").Json;
75806
76244
  };
76245
+ logistics_resolve_product_id: {
76246
+ Args: {
76247
+ p_label: string;
76248
+ };
76249
+ Returns: string;
76250
+ };
75807
76251
  logistics_resolve_settings: {
75808
76252
  Args: {
75809
76253
  p_config_id: string;
@@ -76121,6 +76565,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
76121
76565
  online: boolean;
76122
76566
  }[];
76123
76567
  };
76568
+ pick_apply_buffer_events: {
76569
+ Args: never;
76570
+ Returns: import("../integrations/supabase/types").Json;
76571
+ };
76124
76572
  pick_available_pick_days: {
76125
76573
  Args: {
76126
76574
  _max_days?: number;
@@ -77048,6 +77496,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
77048
77496
  };
77049
77497
  Returns: boolean;
77050
77498
  };
77499
+ release_job_lock: {
77500
+ Args: {
77501
+ _key: string;
77502
+ };
77503
+ Returns: undefined;
77504
+ };
77051
77505
  release_local_pdf_job: {
77052
77506
  Args: {
77053
77507
  _job_id: string;
@@ -77736,6 +78190,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
77736
78190
  row_count: number;
77737
78191
  }[];
77738
78192
  };
78193
+ try_acquire_job_lock: {
78194
+ Args: {
78195
+ _key: string;
78196
+ _owner?: string;
78197
+ _seconds?: number;
78198
+ };
78199
+ Returns: boolean;
78200
+ };
77739
78201
  try_debtor_lock: {
77740
78202
  Args: {
77741
78203
  _group_key: string;