@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
|
@@ -2154,6 +2154,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2154
2154
|
created_at: string;
|
|
2155
2155
|
currency: string;
|
|
2156
2156
|
distribute_over: string | null;
|
|
2157
|
+
external_id: string | null;
|
|
2158
|
+
external_synced_at: string | null;
|
|
2157
2159
|
group_type: string;
|
|
2158
2160
|
handling_fee: number | null;
|
|
2159
2161
|
id: string;
|
|
@@ -2166,6 +2168,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2166
2168
|
rounding: string;
|
|
2167
2169
|
rounding_step: number;
|
|
2168
2170
|
sort_order: number;
|
|
2171
|
+
source: string;
|
|
2169
2172
|
unit: string;
|
|
2170
2173
|
updated_at: string;
|
|
2171
2174
|
};
|
|
@@ -2176,6 +2179,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2176
2179
|
created_at?: string;
|
|
2177
2180
|
currency?: string;
|
|
2178
2181
|
distribute_over?: string | null;
|
|
2182
|
+
external_id?: string | null;
|
|
2183
|
+
external_synced_at?: string | null;
|
|
2179
2184
|
group_type?: string;
|
|
2180
2185
|
handling_fee?: number | null;
|
|
2181
2186
|
id?: string;
|
|
@@ -2188,6 +2193,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2188
2193
|
rounding?: string;
|
|
2189
2194
|
rounding_step?: number;
|
|
2190
2195
|
sort_order?: number;
|
|
2196
|
+
source?: string;
|
|
2191
2197
|
unit?: string;
|
|
2192
2198
|
updated_at?: string;
|
|
2193
2199
|
};
|
|
@@ -2198,6 +2204,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2198
2204
|
created_at?: string;
|
|
2199
2205
|
currency?: string;
|
|
2200
2206
|
distribute_over?: string | null;
|
|
2207
|
+
external_id?: string | null;
|
|
2208
|
+
external_synced_at?: string | null;
|
|
2201
2209
|
group_type?: string;
|
|
2202
2210
|
handling_fee?: number | null;
|
|
2203
2211
|
id?: string;
|
|
@@ -2210,6 +2218,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2210
2218
|
rounding?: string;
|
|
2211
2219
|
rounding_step?: number;
|
|
2212
2220
|
sort_order?: number;
|
|
2221
|
+
source?: string;
|
|
2213
2222
|
unit?: string;
|
|
2214
2223
|
updated_at?: string;
|
|
2215
2224
|
};
|
|
@@ -9073,6 +9082,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9073
9082
|
referencedColumns: ["id"];
|
|
9074
9083
|
}];
|
|
9075
9084
|
};
|
|
9085
|
+
job_locks: {
|
|
9086
|
+
Row: {
|
|
9087
|
+
created_at: string;
|
|
9088
|
+
lock_key: string;
|
|
9089
|
+
locked_until: string;
|
|
9090
|
+
owner: string | null;
|
|
9091
|
+
updated_at: string;
|
|
9092
|
+
};
|
|
9093
|
+
Insert: {
|
|
9094
|
+
created_at?: string;
|
|
9095
|
+
lock_key: string;
|
|
9096
|
+
locked_until: string;
|
|
9097
|
+
owner?: string | null;
|
|
9098
|
+
updated_at?: string;
|
|
9099
|
+
};
|
|
9100
|
+
Update: {
|
|
9101
|
+
created_at?: string;
|
|
9102
|
+
lock_key?: string;
|
|
9103
|
+
locked_until?: string;
|
|
9104
|
+
owner?: string | null;
|
|
9105
|
+
updated_at?: string;
|
|
9106
|
+
};
|
|
9107
|
+
Relationships: [];
|
|
9108
|
+
};
|
|
9076
9109
|
layout_logos: {
|
|
9077
9110
|
Row: {
|
|
9078
9111
|
bestand_url: string;
|
|
@@ -10235,6 +10268,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10235
10268
|
next_attempt_at: string;
|
|
10236
10269
|
order_id: string;
|
|
10237
10270
|
reason: string;
|
|
10271
|
+
reason_code: string | null;
|
|
10238
10272
|
status: string;
|
|
10239
10273
|
updated_at: string;
|
|
10240
10274
|
};
|
|
@@ -10247,6 +10281,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10247
10281
|
next_attempt_at?: string;
|
|
10248
10282
|
order_id: string;
|
|
10249
10283
|
reason?: string;
|
|
10284
|
+
reason_code?: string | null;
|
|
10250
10285
|
status?: string;
|
|
10251
10286
|
updated_at?: string;
|
|
10252
10287
|
};
|
|
@@ -10259,6 +10294,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10259
10294
|
next_attempt_at?: string;
|
|
10260
10295
|
order_id?: string;
|
|
10261
10296
|
reason?: string;
|
|
10297
|
+
reason_code?: string | null;
|
|
10262
10298
|
status?: string;
|
|
10263
10299
|
updated_at?: string;
|
|
10264
10300
|
};
|
|
@@ -10963,6 +10999,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10963
10999
|
referencedColumns: ["id"];
|
|
10964
11000
|
}];
|
|
10965
11001
|
};
|
|
11002
|
+
logistics_tick_heartbeat: {
|
|
11003
|
+
Row: {
|
|
11004
|
+
id: boolean;
|
|
11005
|
+
last_tick_at: string;
|
|
11006
|
+
};
|
|
11007
|
+
Insert: {
|
|
11008
|
+
id?: boolean;
|
|
11009
|
+
last_tick_at?: string;
|
|
11010
|
+
};
|
|
11011
|
+
Update: {
|
|
11012
|
+
id?: boolean;
|
|
11013
|
+
last_tick_at?: string;
|
|
11014
|
+
};
|
|
11015
|
+
Relationships: [];
|
|
11016
|
+
};
|
|
10966
11017
|
logistics_variables: {
|
|
10967
11018
|
Row: {
|
|
10968
11019
|
created_at: string;
|
|
@@ -13600,6 +13651,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13600
13651
|
};
|
|
13601
13652
|
Relationships: [];
|
|
13602
13653
|
};
|
|
13654
|
+
pick_buffer_event_cursor: {
|
|
13655
|
+
Row: {
|
|
13656
|
+
created_at: string;
|
|
13657
|
+
id: boolean;
|
|
13658
|
+
last_event_at: string;
|
|
13659
|
+
updated_at: string;
|
|
13660
|
+
};
|
|
13661
|
+
Insert: {
|
|
13662
|
+
created_at?: string;
|
|
13663
|
+
id?: boolean;
|
|
13664
|
+
last_event_at?: string;
|
|
13665
|
+
updated_at?: string;
|
|
13666
|
+
};
|
|
13667
|
+
Update: {
|
|
13668
|
+
created_at?: string;
|
|
13669
|
+
id?: boolean;
|
|
13670
|
+
last_event_at?: string;
|
|
13671
|
+
updated_at?: string;
|
|
13672
|
+
};
|
|
13673
|
+
Relationships: [];
|
|
13674
|
+
};
|
|
13603
13675
|
pick_countries: {
|
|
13604
13676
|
Row: {
|
|
13605
13677
|
active: boolean;
|
|
@@ -22116,6 +22188,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22116
22188
|
};
|
|
22117
22189
|
Returns: boolean;
|
|
22118
22190
|
};
|
|
22191
|
+
floriday_adopt_connection: {
|
|
22192
|
+
Args: {
|
|
22193
|
+
p_new: string;
|
|
22194
|
+
p_old: string;
|
|
22195
|
+
};
|
|
22196
|
+
Returns: import("./types").Json;
|
|
22197
|
+
};
|
|
22198
|
+
floriday_autoheal_connections: {
|
|
22199
|
+
Args: never;
|
|
22200
|
+
Returns: import("./types").Json;
|
|
22201
|
+
};
|
|
22119
22202
|
floriday_capture_stock_snapshot: {
|
|
22120
22203
|
Args: never;
|
|
22121
22204
|
Returns: number;
|
|
@@ -22173,6 +22256,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22173
22256
|
};
|
|
22174
22257
|
Returns: undefined;
|
|
22175
22258
|
};
|
|
22259
|
+
floriday_relink_products: {
|
|
22260
|
+
Args: {
|
|
22261
|
+
p_connection_id?: string;
|
|
22262
|
+
};
|
|
22263
|
+
Returns: import("./types").Json;
|
|
22264
|
+
};
|
|
22176
22265
|
floriday_requeue_dead_letters: {
|
|
22177
22266
|
Args: {
|
|
22178
22267
|
p_connection_id?: string;
|
|
@@ -22794,6 +22883,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22794
22883
|
};
|
|
22795
22884
|
Returns: string;
|
|
22796
22885
|
};
|
|
22886
|
+
logistics_active_layout_method: {
|
|
22887
|
+
Args: never;
|
|
22888
|
+
Returns: string;
|
|
22889
|
+
};
|
|
22797
22890
|
logistics_active_pick_workdays: {
|
|
22798
22891
|
Args: never;
|
|
22799
22892
|
Returns: string[];
|
|
@@ -22845,6 +22938,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22845
22938
|
};
|
|
22846
22939
|
Returns: import("./types").Json;
|
|
22847
22940
|
};
|
|
22941
|
+
logistics_block_reason_code: {
|
|
22942
|
+
Args: {
|
|
22943
|
+
p_details?: import("./types").Json;
|
|
22944
|
+
p_reason: string;
|
|
22945
|
+
};
|
|
22946
|
+
Returns: string;
|
|
22947
|
+
};
|
|
22948
|
+
logistics_blocked_orders: {
|
|
22949
|
+
Args: never;
|
|
22950
|
+
Returns: {
|
|
22951
|
+
attempts: number;
|
|
22952
|
+
blocked_since: string;
|
|
22953
|
+
delivery_date: string;
|
|
22954
|
+
order_id: string;
|
|
22955
|
+
order_ref: string;
|
|
22956
|
+
queue_id: string;
|
|
22957
|
+
reason: string;
|
|
22958
|
+
reason_code: string;
|
|
22959
|
+
}[];
|
|
22960
|
+
};
|
|
22961
|
+
logistics_blocked_overview: {
|
|
22962
|
+
Args: never;
|
|
22963
|
+
Returns: import("./types").Json;
|
|
22964
|
+
};
|
|
22848
22965
|
logistics_buffer_criteria: {
|
|
22849
22966
|
Args: {
|
|
22850
22967
|
p_settings: import("./types").Json;
|
|
@@ -22859,6 +22976,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22859
22976
|
};
|
|
22860
22977
|
Returns: import("./types").Json;
|
|
22861
22978
|
};
|
|
22979
|
+
logistics_buffer_detach_late_orders: {
|
|
22980
|
+
Args: {
|
|
22981
|
+
p_buffer?: string;
|
|
22982
|
+
};
|
|
22983
|
+
Returns: import("./types").Json;
|
|
22984
|
+
};
|
|
22985
|
+
logistics_buffer_frozen_order: {
|
|
22986
|
+
Args: {
|
|
22987
|
+
p_order_id: string;
|
|
22988
|
+
};
|
|
22989
|
+
Returns: boolean;
|
|
22990
|
+
};
|
|
22991
|
+
logistics_buffer_handled: {
|
|
22992
|
+
Args: {
|
|
22993
|
+
p_buffer: string;
|
|
22994
|
+
};
|
|
22995
|
+
Returns: boolean;
|
|
22996
|
+
};
|
|
22997
|
+
logistics_buffer_notify: {
|
|
22998
|
+
Args: {
|
|
22999
|
+
p_event_type: string;
|
|
23000
|
+
p_idempotency_key: string;
|
|
23001
|
+
p_order_ref: string;
|
|
23002
|
+
p_payload: import("./types").Json;
|
|
23003
|
+
};
|
|
23004
|
+
Returns: string;
|
|
23005
|
+
};
|
|
23006
|
+
logistics_buffer_open_key: {
|
|
23007
|
+
Args: {
|
|
23008
|
+
p_base_key: string;
|
|
23009
|
+
};
|
|
23010
|
+
Returns: string;
|
|
23011
|
+
};
|
|
22862
23012
|
logistics_buffer_simulate: {
|
|
22863
23013
|
Args: {
|
|
22864
23014
|
p_orders?: import("./types").Json;
|
|
@@ -23500,6 +23650,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23500
23650
|
};
|
|
23501
23651
|
Returns: boolean;
|
|
23502
23652
|
};
|
|
23653
|
+
logistics_layout_method_status: {
|
|
23654
|
+
Args: never;
|
|
23655
|
+
Returns: import("./types").Json;
|
|
23656
|
+
};
|
|
23657
|
+
logistics_link_order_items: {
|
|
23658
|
+
Args: {
|
|
23659
|
+
p_order?: string;
|
|
23660
|
+
};
|
|
23661
|
+
Returns: import("./types").Json;
|
|
23662
|
+
};
|
|
23503
23663
|
logistics_live_carriers: {
|
|
23504
23664
|
Args: {
|
|
23505
23665
|
p_order_ref: string;
|
|
@@ -23526,6 +23686,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23526
23686
|
};
|
|
23527
23687
|
Returns: string;
|
|
23528
23688
|
};
|
|
23689
|
+
logistics_normalize_product_label: {
|
|
23690
|
+
Args: {
|
|
23691
|
+
p_label: string;
|
|
23692
|
+
};
|
|
23693
|
+
Returns: string;
|
|
23694
|
+
};
|
|
23529
23695
|
logistics_not_past: {
|
|
23530
23696
|
Args: {
|
|
23531
23697
|
p_ts: string;
|
|
@@ -23714,6 +23880,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23714
23880
|
Args: never;
|
|
23715
23881
|
Returns: number;
|
|
23716
23882
|
};
|
|
23883
|
+
logistics_plan_retry: {
|
|
23884
|
+
Args: {
|
|
23885
|
+
p_order_ids: string[];
|
|
23886
|
+
};
|
|
23887
|
+
Returns: number;
|
|
23888
|
+
};
|
|
23717
23889
|
logistics_plan_setting: {
|
|
23718
23890
|
Args: {
|
|
23719
23891
|
p_default: number;
|
|
@@ -23767,6 +23939,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23767
23939
|
};
|
|
23768
23940
|
Returns: import("./types").Json;
|
|
23769
23941
|
};
|
|
23942
|
+
logistics_replan_all: {
|
|
23943
|
+
Args: {
|
|
23944
|
+
p_reason?: string;
|
|
23945
|
+
};
|
|
23946
|
+
Returns: import("./types").Json;
|
|
23947
|
+
};
|
|
23770
23948
|
logistics_report_delay: {
|
|
23771
23949
|
Args: {
|
|
23772
23950
|
p_expected_date?: string;
|
|
@@ -23820,6 +23998,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23820
23998
|
};
|
|
23821
23999
|
Returns: import("./types").Json;
|
|
23822
24000
|
};
|
|
24001
|
+
logistics_resolve_product_id: {
|
|
24002
|
+
Args: {
|
|
24003
|
+
p_label: string;
|
|
24004
|
+
};
|
|
24005
|
+
Returns: string;
|
|
24006
|
+
};
|
|
23823
24007
|
logistics_resolve_settings: {
|
|
23824
24008
|
Args: {
|
|
23825
24009
|
p_config_id: string;
|
|
@@ -23949,6 +24133,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23949
24133
|
};
|
|
23950
24134
|
Returns: number;
|
|
23951
24135
|
};
|
|
24136
|
+
logistics_tick_ping: {
|
|
24137
|
+
Args: never;
|
|
24138
|
+
Returns: string;
|
|
24139
|
+
};
|
|
23952
24140
|
logistics_upsert_task: {
|
|
23953
24141
|
Args: {
|
|
23954
24142
|
p_buffer_ref: string;
|
|
@@ -24133,6 +24321,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24133
24321
|
online: boolean;
|
|
24134
24322
|
}[];
|
|
24135
24323
|
};
|
|
24324
|
+
pick_apply_buffer_events: {
|
|
24325
|
+
Args: never;
|
|
24326
|
+
Returns: import("./types").Json;
|
|
24327
|
+
};
|
|
24136
24328
|
pick_available_pick_days: {
|
|
24137
24329
|
Args: {
|
|
24138
24330
|
_max_days?: number;
|
|
@@ -25060,6 +25252,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25060
25252
|
};
|
|
25061
25253
|
Returns: boolean;
|
|
25062
25254
|
};
|
|
25255
|
+
release_job_lock: {
|
|
25256
|
+
Args: {
|
|
25257
|
+
_key: string;
|
|
25258
|
+
};
|
|
25259
|
+
Returns: undefined;
|
|
25260
|
+
};
|
|
25063
25261
|
release_local_pdf_job: {
|
|
25064
25262
|
Args: {
|
|
25065
25263
|
_job_id: string;
|
|
@@ -25748,6 +25946,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25748
25946
|
row_count: number;
|
|
25749
25947
|
}[];
|
|
25750
25948
|
};
|
|
25949
|
+
try_acquire_job_lock: {
|
|
25950
|
+
Args: {
|
|
25951
|
+
_key: string;
|
|
25952
|
+
_owner?: string;
|
|
25953
|
+
_seconds?: number;
|
|
25954
|
+
};
|
|
25955
|
+
Returns: boolean;
|
|
25956
|
+
};
|
|
25751
25957
|
try_debtor_lock: {
|
|
25752
25958
|
Args: {
|
|
25753
25959
|
_group_key: string;
|