@flowselections/logistiek-engine 1.0.28 → 1.0.30
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.
- package/README.md +24 -24
- package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts +2 -0
- package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -0
- package/dist-lib/components/GeblokkeerdeOrdersCard.js +44 -0
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +2 -1
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +2 -1
- package/dist-lib/components/WerkwijzeHerindelingCard.d.ts +2 -0
- package/dist-lib/components/WerkwijzeHerindelingCard.d.ts.map +1 -0
- package/dist-lib/components/WerkwijzeHerindelingCard.js +36 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +28 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.js +94 -0
- package/dist-lib/hooks/useRuleEngine.d.ts.map +1 -1
- package/dist-lib/hooks/useRuleEngine.js +7 -4
- package/dist-lib/hooks/useWerkwijzeStatus.d.ts +17 -0
- package/dist-lib/hooks/useWerkwijzeStatus.d.ts.map +1 -0
- package/dist-lib/hooks/useWerkwijzeStatus.js +58 -0
- package/dist-lib/index.d.ts +3 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +206 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1516 -159
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +206 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +206 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +206 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +618 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts +7 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.js +25 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +206 -0
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +28 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +21 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1030 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +23 -3
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +412 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +206 -0
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +2613 -2406
- package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +7 -0
- package/package.json +1 -1
|
@@ -2155,6 +2155,8 @@ export declare const requireSupabaseAuth: 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 requireSupabaseAuth: 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 requireSupabaseAuth: 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 requireSupabaseAuth: 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 requireSupabaseAuth: 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 requireSupabaseAuth: 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 requireSupabaseAuth: 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;
|
|
@@ -10236,6 +10269,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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 requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
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;
|
|
@@ -13601,6 +13652,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13601
13652
|
};
|
|
13602
13653
|
Relationships: [];
|
|
13603
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
|
+
};
|
|
13604
13676
|
pick_countries: {
|
|
13605
13677
|
Row: {
|
|
13606
13678
|
active: boolean;
|
|
@@ -22117,6 +22189,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22117
22189
|
};
|
|
22118
22190
|
Returns: boolean;
|
|
22119
22191
|
};
|
|
22192
|
+
floriday_adopt_connection: {
|
|
22193
|
+
Args: {
|
|
22194
|
+
p_new: string;
|
|
22195
|
+
p_old: string;
|
|
22196
|
+
};
|
|
22197
|
+
Returns: import("./types").Json;
|
|
22198
|
+
};
|
|
22199
|
+
floriday_autoheal_connections: {
|
|
22200
|
+
Args: never;
|
|
22201
|
+
Returns: import("./types").Json;
|
|
22202
|
+
};
|
|
22120
22203
|
floriday_capture_stock_snapshot: {
|
|
22121
22204
|
Args: never;
|
|
22122
22205
|
Returns: number;
|
|
@@ -22174,6 +22257,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22174
22257
|
};
|
|
22175
22258
|
Returns: undefined;
|
|
22176
22259
|
};
|
|
22260
|
+
floriday_relink_products: {
|
|
22261
|
+
Args: {
|
|
22262
|
+
p_connection_id?: string;
|
|
22263
|
+
};
|
|
22264
|
+
Returns: import("./types").Json;
|
|
22265
|
+
};
|
|
22177
22266
|
floriday_requeue_dead_letters: {
|
|
22178
22267
|
Args: {
|
|
22179
22268
|
p_connection_id?: string;
|
|
@@ -22795,6 +22884,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22795
22884
|
};
|
|
22796
22885
|
Returns: string;
|
|
22797
22886
|
};
|
|
22887
|
+
logistics_active_layout_method: {
|
|
22888
|
+
Args: never;
|
|
22889
|
+
Returns: string;
|
|
22890
|
+
};
|
|
22798
22891
|
logistics_active_pick_workdays: {
|
|
22799
22892
|
Args: never;
|
|
22800
22893
|
Returns: string[];
|
|
@@ -22846,6 +22939,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22846
22939
|
};
|
|
22847
22940
|
Returns: import("./types").Json;
|
|
22848
22941
|
};
|
|
22942
|
+
logistics_block_reason_code: {
|
|
22943
|
+
Args: {
|
|
22944
|
+
p_details?: import("./types").Json;
|
|
22945
|
+
p_reason: string;
|
|
22946
|
+
};
|
|
22947
|
+
Returns: string;
|
|
22948
|
+
};
|
|
22949
|
+
logistics_blocked_orders: {
|
|
22950
|
+
Args: never;
|
|
22951
|
+
Returns: {
|
|
22952
|
+
attempts: number;
|
|
22953
|
+
blocked_since: string;
|
|
22954
|
+
delivery_date: string;
|
|
22955
|
+
order_id: string;
|
|
22956
|
+
order_ref: string;
|
|
22957
|
+
queue_id: string;
|
|
22958
|
+
reason: string;
|
|
22959
|
+
reason_code: string;
|
|
22960
|
+
}[];
|
|
22961
|
+
};
|
|
22962
|
+
logistics_blocked_overview: {
|
|
22963
|
+
Args: never;
|
|
22964
|
+
Returns: import("./types").Json;
|
|
22965
|
+
};
|
|
22849
22966
|
logistics_buffer_criteria: {
|
|
22850
22967
|
Args: {
|
|
22851
22968
|
p_settings: import("./types").Json;
|
|
@@ -22860,6 +22977,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22860
22977
|
};
|
|
22861
22978
|
Returns: import("./types").Json;
|
|
22862
22979
|
};
|
|
22980
|
+
logistics_buffer_detach_late_orders: {
|
|
22981
|
+
Args: {
|
|
22982
|
+
p_buffer?: string;
|
|
22983
|
+
};
|
|
22984
|
+
Returns: import("./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("./types").Json;
|
|
23004
|
+
};
|
|
23005
|
+
Returns: string;
|
|
23006
|
+
};
|
|
23007
|
+
logistics_buffer_open_key: {
|
|
23008
|
+
Args: {
|
|
23009
|
+
p_base_key: string;
|
|
23010
|
+
};
|
|
23011
|
+
Returns: string;
|
|
23012
|
+
};
|
|
22863
23013
|
logistics_buffer_simulate: {
|
|
22864
23014
|
Args: {
|
|
22865
23015
|
p_orders?: import("./types").Json;
|
|
@@ -23501,6 +23651,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23501
23651
|
};
|
|
23502
23652
|
Returns: boolean;
|
|
23503
23653
|
};
|
|
23654
|
+
logistics_layout_method_status: {
|
|
23655
|
+
Args: never;
|
|
23656
|
+
Returns: import("./types").Json;
|
|
23657
|
+
};
|
|
23658
|
+
logistics_link_order_items: {
|
|
23659
|
+
Args: {
|
|
23660
|
+
p_order?: string;
|
|
23661
|
+
};
|
|
23662
|
+
Returns: import("./types").Json;
|
|
23663
|
+
};
|
|
23504
23664
|
logistics_live_carriers: {
|
|
23505
23665
|
Args: {
|
|
23506
23666
|
p_order_ref: string;
|
|
@@ -23527,6 +23687,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23527
23687
|
};
|
|
23528
23688
|
Returns: string;
|
|
23529
23689
|
};
|
|
23690
|
+
logistics_normalize_product_label: {
|
|
23691
|
+
Args: {
|
|
23692
|
+
p_label: string;
|
|
23693
|
+
};
|
|
23694
|
+
Returns: string;
|
|
23695
|
+
};
|
|
23530
23696
|
logistics_not_past: {
|
|
23531
23697
|
Args: {
|
|
23532
23698
|
p_ts: string;
|
|
@@ -23715,6 +23881,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23715
23881
|
Args: never;
|
|
23716
23882
|
Returns: number;
|
|
23717
23883
|
};
|
|
23884
|
+
logistics_plan_retry: {
|
|
23885
|
+
Args: {
|
|
23886
|
+
p_order_ids: string[];
|
|
23887
|
+
};
|
|
23888
|
+
Returns: number;
|
|
23889
|
+
};
|
|
23718
23890
|
logistics_plan_setting: {
|
|
23719
23891
|
Args: {
|
|
23720
23892
|
p_default: number;
|
|
@@ -23768,6 +23940,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23768
23940
|
};
|
|
23769
23941
|
Returns: import("./types").Json;
|
|
23770
23942
|
};
|
|
23943
|
+
logistics_replan_all: {
|
|
23944
|
+
Args: {
|
|
23945
|
+
p_reason?: string;
|
|
23946
|
+
};
|
|
23947
|
+
Returns: import("./types").Json;
|
|
23948
|
+
};
|
|
23771
23949
|
logistics_report_delay: {
|
|
23772
23950
|
Args: {
|
|
23773
23951
|
p_expected_date?: string;
|
|
@@ -23821,6 +23999,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23821
23999
|
};
|
|
23822
24000
|
Returns: import("./types").Json;
|
|
23823
24001
|
};
|
|
24002
|
+
logistics_resolve_product_id: {
|
|
24003
|
+
Args: {
|
|
24004
|
+
p_label: string;
|
|
24005
|
+
};
|
|
24006
|
+
Returns: string;
|
|
24007
|
+
};
|
|
23824
24008
|
logistics_resolve_settings: {
|
|
23825
24009
|
Args: {
|
|
23826
24010
|
p_config_id: string;
|
|
@@ -23950,6 +24134,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23950
24134
|
};
|
|
23951
24135
|
Returns: number;
|
|
23952
24136
|
};
|
|
24137
|
+
logistics_tick_ping: {
|
|
24138
|
+
Args: never;
|
|
24139
|
+
Returns: string;
|
|
24140
|
+
};
|
|
23953
24141
|
logistics_upsert_task: {
|
|
23954
24142
|
Args: {
|
|
23955
24143
|
p_buffer_ref: string;
|
|
@@ -24134,6 +24322,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24134
24322
|
online: boolean;
|
|
24135
24323
|
}[];
|
|
24136
24324
|
};
|
|
24325
|
+
pick_apply_buffer_events: {
|
|
24326
|
+
Args: never;
|
|
24327
|
+
Returns: import("./types").Json;
|
|
24328
|
+
};
|
|
24137
24329
|
pick_available_pick_days: {
|
|
24138
24330
|
Args: {
|
|
24139
24331
|
_max_days?: number;
|
|
@@ -25061,6 +25253,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25061
25253
|
};
|
|
25062
25254
|
Returns: boolean;
|
|
25063
25255
|
};
|
|
25256
|
+
release_job_lock: {
|
|
25257
|
+
Args: {
|
|
25258
|
+
_key: string;
|
|
25259
|
+
};
|
|
25260
|
+
Returns: undefined;
|
|
25261
|
+
};
|
|
25064
25262
|
release_local_pdf_job: {
|
|
25065
25263
|
Args: {
|
|
25066
25264
|
_job_id: string;
|
|
@@ -25749,6 +25947,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25749
25947
|
row_count: number;
|
|
25750
25948
|
}[];
|
|
25751
25949
|
};
|
|
25950
|
+
try_acquire_job_lock: {
|
|
25951
|
+
Args: {
|
|
25952
|
+
_key: string;
|
|
25953
|
+
_owner?: string;
|
|
25954
|
+
_seconds?: number;
|
|
25955
|
+
};
|
|
25956
|
+
Returns: boolean;
|
|
25957
|
+
};
|
|
25752
25958
|
try_debtor_lock: {
|
|
25753
25959
|
Args: {
|
|
25754
25960
|
_group_key: string;
|