@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
|
@@ -2202,6 +2202,8 @@ export type Database = {
|
|
|
2202
2202
|
created_at: string;
|
|
2203
2203
|
currency: string;
|
|
2204
2204
|
distribute_over: string | null;
|
|
2205
|
+
external_id: string | null;
|
|
2206
|
+
external_synced_at: string | null;
|
|
2205
2207
|
group_type: string;
|
|
2206
2208
|
handling_fee: number | null;
|
|
2207
2209
|
id: string;
|
|
@@ -2214,6 +2216,7 @@ export type Database = {
|
|
|
2214
2216
|
rounding: string;
|
|
2215
2217
|
rounding_step: number;
|
|
2216
2218
|
sort_order: number;
|
|
2219
|
+
source: string;
|
|
2217
2220
|
unit: string;
|
|
2218
2221
|
updated_at: string;
|
|
2219
2222
|
};
|
|
@@ -2224,6 +2227,8 @@ export type Database = {
|
|
|
2224
2227
|
created_at?: string;
|
|
2225
2228
|
currency?: string;
|
|
2226
2229
|
distribute_over?: string | null;
|
|
2230
|
+
external_id?: string | null;
|
|
2231
|
+
external_synced_at?: string | null;
|
|
2227
2232
|
group_type?: string;
|
|
2228
2233
|
handling_fee?: number | null;
|
|
2229
2234
|
id?: string;
|
|
@@ -2236,6 +2241,7 @@ export type Database = {
|
|
|
2236
2241
|
rounding?: string;
|
|
2237
2242
|
rounding_step?: number;
|
|
2238
2243
|
sort_order?: number;
|
|
2244
|
+
source?: string;
|
|
2239
2245
|
unit?: string;
|
|
2240
2246
|
updated_at?: string;
|
|
2241
2247
|
};
|
|
@@ -2246,6 +2252,8 @@ export type Database = {
|
|
|
2246
2252
|
created_at?: string;
|
|
2247
2253
|
currency?: string;
|
|
2248
2254
|
distribute_over?: string | null;
|
|
2255
|
+
external_id?: string | null;
|
|
2256
|
+
external_synced_at?: string | null;
|
|
2249
2257
|
group_type?: string;
|
|
2250
2258
|
handling_fee?: number | null;
|
|
2251
2259
|
id?: string;
|
|
@@ -2258,6 +2266,7 @@ export type Database = {
|
|
|
2258
2266
|
rounding?: string;
|
|
2259
2267
|
rounding_step?: number;
|
|
2260
2268
|
sort_order?: number;
|
|
2269
|
+
source?: string;
|
|
2261
2270
|
unit?: string;
|
|
2262
2271
|
updated_at?: string;
|
|
2263
2272
|
};
|
|
@@ -9313,6 +9322,30 @@ export type Database = {
|
|
|
9313
9322
|
}
|
|
9314
9323
|
];
|
|
9315
9324
|
};
|
|
9325
|
+
job_locks: {
|
|
9326
|
+
Row: {
|
|
9327
|
+
created_at: string;
|
|
9328
|
+
lock_key: string;
|
|
9329
|
+
locked_until: string;
|
|
9330
|
+
owner: string | null;
|
|
9331
|
+
updated_at: string;
|
|
9332
|
+
};
|
|
9333
|
+
Insert: {
|
|
9334
|
+
created_at?: string;
|
|
9335
|
+
lock_key: string;
|
|
9336
|
+
locked_until: string;
|
|
9337
|
+
owner?: string | null;
|
|
9338
|
+
updated_at?: string;
|
|
9339
|
+
};
|
|
9340
|
+
Update: {
|
|
9341
|
+
created_at?: string;
|
|
9342
|
+
lock_key?: string;
|
|
9343
|
+
locked_until?: string;
|
|
9344
|
+
owner?: string | null;
|
|
9345
|
+
updated_at?: string;
|
|
9346
|
+
};
|
|
9347
|
+
Relationships: [];
|
|
9348
|
+
};
|
|
9316
9349
|
layout_logos: {
|
|
9317
9350
|
Row: {
|
|
9318
9351
|
bestand_url: string;
|
|
@@ -10503,6 +10536,7 @@ export type Database = {
|
|
|
10503
10536
|
next_attempt_at: string;
|
|
10504
10537
|
order_id: string;
|
|
10505
10538
|
reason: string;
|
|
10539
|
+
reason_code: string | null;
|
|
10506
10540
|
status: string;
|
|
10507
10541
|
updated_at: string;
|
|
10508
10542
|
};
|
|
@@ -10515,6 +10549,7 @@ export type Database = {
|
|
|
10515
10549
|
next_attempt_at?: string;
|
|
10516
10550
|
order_id: string;
|
|
10517
10551
|
reason?: string;
|
|
10552
|
+
reason_code?: string | null;
|
|
10518
10553
|
status?: string;
|
|
10519
10554
|
updated_at?: string;
|
|
10520
10555
|
};
|
|
@@ -10527,6 +10562,7 @@ export type Database = {
|
|
|
10527
10562
|
next_attempt_at?: string;
|
|
10528
10563
|
order_id?: string;
|
|
10529
10564
|
reason?: string;
|
|
10565
|
+
reason_code?: string | null;
|
|
10530
10566
|
status?: string;
|
|
10531
10567
|
updated_at?: string;
|
|
10532
10568
|
};
|
|
@@ -11244,6 +11280,21 @@ export type Database = {
|
|
|
11244
11280
|
}
|
|
11245
11281
|
];
|
|
11246
11282
|
};
|
|
11283
|
+
logistics_tick_heartbeat: {
|
|
11284
|
+
Row: {
|
|
11285
|
+
id: boolean;
|
|
11286
|
+
last_tick_at: string;
|
|
11287
|
+
};
|
|
11288
|
+
Insert: {
|
|
11289
|
+
id?: boolean;
|
|
11290
|
+
last_tick_at?: string;
|
|
11291
|
+
};
|
|
11292
|
+
Update: {
|
|
11293
|
+
id?: boolean;
|
|
11294
|
+
last_tick_at?: string;
|
|
11295
|
+
};
|
|
11296
|
+
Relationships: [];
|
|
11297
|
+
};
|
|
11247
11298
|
logistics_variables: {
|
|
11248
11299
|
Row: {
|
|
11249
11300
|
created_at: string;
|
|
@@ -13958,6 +14009,27 @@ export type Database = {
|
|
|
13958
14009
|
};
|
|
13959
14010
|
Relationships: [];
|
|
13960
14011
|
};
|
|
14012
|
+
pick_buffer_event_cursor: {
|
|
14013
|
+
Row: {
|
|
14014
|
+
created_at: string;
|
|
14015
|
+
id: boolean;
|
|
14016
|
+
last_event_at: string;
|
|
14017
|
+
updated_at: string;
|
|
14018
|
+
};
|
|
14019
|
+
Insert: {
|
|
14020
|
+
created_at?: string;
|
|
14021
|
+
id?: boolean;
|
|
14022
|
+
last_event_at?: string;
|
|
14023
|
+
updated_at?: string;
|
|
14024
|
+
};
|
|
14025
|
+
Update: {
|
|
14026
|
+
created_at?: string;
|
|
14027
|
+
id?: boolean;
|
|
14028
|
+
last_event_at?: string;
|
|
14029
|
+
updated_at?: string;
|
|
14030
|
+
};
|
|
14031
|
+
Relationships: [];
|
|
14032
|
+
};
|
|
13961
14033
|
pick_countries: {
|
|
13962
14034
|
Row: {
|
|
13963
14035
|
active: boolean;
|
|
@@ -22701,6 +22773,17 @@ export type Database = {
|
|
|
22701
22773
|
};
|
|
22702
22774
|
Returns: boolean;
|
|
22703
22775
|
};
|
|
22776
|
+
floriday_adopt_connection: {
|
|
22777
|
+
Args: {
|
|
22778
|
+
p_new: string;
|
|
22779
|
+
p_old: string;
|
|
22780
|
+
};
|
|
22781
|
+
Returns: Json;
|
|
22782
|
+
};
|
|
22783
|
+
floriday_autoheal_connections: {
|
|
22784
|
+
Args: never;
|
|
22785
|
+
Returns: Json;
|
|
22786
|
+
};
|
|
22704
22787
|
floriday_capture_stock_snapshot: {
|
|
22705
22788
|
Args: never;
|
|
22706
22789
|
Returns: number;
|
|
@@ -22758,6 +22841,12 @@ export type Database = {
|
|
|
22758
22841
|
};
|
|
22759
22842
|
Returns: undefined;
|
|
22760
22843
|
};
|
|
22844
|
+
floriday_relink_products: {
|
|
22845
|
+
Args: {
|
|
22846
|
+
p_connection_id?: string;
|
|
22847
|
+
};
|
|
22848
|
+
Returns: Json;
|
|
22849
|
+
};
|
|
22761
22850
|
floriday_requeue_dead_letters: {
|
|
22762
22851
|
Args: {
|
|
22763
22852
|
p_connection_id?: string;
|
|
@@ -23379,6 +23468,10 @@ export type Database = {
|
|
|
23379
23468
|
};
|
|
23380
23469
|
Returns: string;
|
|
23381
23470
|
};
|
|
23471
|
+
logistics_active_layout_method: {
|
|
23472
|
+
Args: never;
|
|
23473
|
+
Returns: string;
|
|
23474
|
+
};
|
|
23382
23475
|
logistics_active_pick_workdays: {
|
|
23383
23476
|
Args: never;
|
|
23384
23477
|
Returns: string[];
|
|
@@ -23430,6 +23523,30 @@ export type Database = {
|
|
|
23430
23523
|
};
|
|
23431
23524
|
Returns: Json;
|
|
23432
23525
|
};
|
|
23526
|
+
logistics_block_reason_code: {
|
|
23527
|
+
Args: {
|
|
23528
|
+
p_details?: Json;
|
|
23529
|
+
p_reason: string;
|
|
23530
|
+
};
|
|
23531
|
+
Returns: string;
|
|
23532
|
+
};
|
|
23533
|
+
logistics_blocked_orders: {
|
|
23534
|
+
Args: never;
|
|
23535
|
+
Returns: {
|
|
23536
|
+
attempts: number;
|
|
23537
|
+
blocked_since: string;
|
|
23538
|
+
delivery_date: string;
|
|
23539
|
+
order_id: string;
|
|
23540
|
+
order_ref: string;
|
|
23541
|
+
queue_id: string;
|
|
23542
|
+
reason: string;
|
|
23543
|
+
reason_code: string;
|
|
23544
|
+
}[];
|
|
23545
|
+
};
|
|
23546
|
+
logistics_blocked_overview: {
|
|
23547
|
+
Args: never;
|
|
23548
|
+
Returns: Json;
|
|
23549
|
+
};
|
|
23433
23550
|
logistics_buffer_criteria: {
|
|
23434
23551
|
Args: {
|
|
23435
23552
|
p_settings: Json;
|
|
@@ -23444,6 +23561,39 @@ export type Database = {
|
|
|
23444
23561
|
};
|
|
23445
23562
|
Returns: Json;
|
|
23446
23563
|
};
|
|
23564
|
+
logistics_buffer_detach_late_orders: {
|
|
23565
|
+
Args: {
|
|
23566
|
+
p_buffer?: string;
|
|
23567
|
+
};
|
|
23568
|
+
Returns: Json;
|
|
23569
|
+
};
|
|
23570
|
+
logistics_buffer_frozen_order: {
|
|
23571
|
+
Args: {
|
|
23572
|
+
p_order_id: string;
|
|
23573
|
+
};
|
|
23574
|
+
Returns: boolean;
|
|
23575
|
+
};
|
|
23576
|
+
logistics_buffer_handled: {
|
|
23577
|
+
Args: {
|
|
23578
|
+
p_buffer: string;
|
|
23579
|
+
};
|
|
23580
|
+
Returns: boolean;
|
|
23581
|
+
};
|
|
23582
|
+
logistics_buffer_notify: {
|
|
23583
|
+
Args: {
|
|
23584
|
+
p_event_type: string;
|
|
23585
|
+
p_idempotency_key: string;
|
|
23586
|
+
p_order_ref: string;
|
|
23587
|
+
p_payload: Json;
|
|
23588
|
+
};
|
|
23589
|
+
Returns: string;
|
|
23590
|
+
};
|
|
23591
|
+
logistics_buffer_open_key: {
|
|
23592
|
+
Args: {
|
|
23593
|
+
p_base_key: string;
|
|
23594
|
+
};
|
|
23595
|
+
Returns: string;
|
|
23596
|
+
};
|
|
23447
23597
|
logistics_buffer_simulate: {
|
|
23448
23598
|
Args: {
|
|
23449
23599
|
p_orders?: Json;
|
|
@@ -24085,6 +24235,16 @@ export type Database = {
|
|
|
24085
24235
|
};
|
|
24086
24236
|
Returns: boolean;
|
|
24087
24237
|
};
|
|
24238
|
+
logistics_layout_method_status: {
|
|
24239
|
+
Args: never;
|
|
24240
|
+
Returns: Json;
|
|
24241
|
+
};
|
|
24242
|
+
logistics_link_order_items: {
|
|
24243
|
+
Args: {
|
|
24244
|
+
p_order?: string;
|
|
24245
|
+
};
|
|
24246
|
+
Returns: Json;
|
|
24247
|
+
};
|
|
24088
24248
|
logistics_live_carriers: {
|
|
24089
24249
|
Args: {
|
|
24090
24250
|
p_order_ref: string;
|
|
@@ -24111,6 +24271,12 @@ export type Database = {
|
|
|
24111
24271
|
};
|
|
24112
24272
|
Returns: string;
|
|
24113
24273
|
};
|
|
24274
|
+
logistics_normalize_product_label: {
|
|
24275
|
+
Args: {
|
|
24276
|
+
p_label: string;
|
|
24277
|
+
};
|
|
24278
|
+
Returns: string;
|
|
24279
|
+
};
|
|
24114
24280
|
logistics_not_past: {
|
|
24115
24281
|
Args: {
|
|
24116
24282
|
p_ts: string;
|
|
@@ -24299,6 +24465,12 @@ export type Database = {
|
|
|
24299
24465
|
Args: never;
|
|
24300
24466
|
Returns: number;
|
|
24301
24467
|
};
|
|
24468
|
+
logistics_plan_retry: {
|
|
24469
|
+
Args: {
|
|
24470
|
+
p_order_ids: string[];
|
|
24471
|
+
};
|
|
24472
|
+
Returns: number;
|
|
24473
|
+
};
|
|
24302
24474
|
logistics_plan_setting: {
|
|
24303
24475
|
Args: {
|
|
24304
24476
|
p_default: number;
|
|
@@ -24352,6 +24524,12 @@ export type Database = {
|
|
|
24352
24524
|
};
|
|
24353
24525
|
Returns: Json;
|
|
24354
24526
|
};
|
|
24527
|
+
logistics_replan_all: {
|
|
24528
|
+
Args: {
|
|
24529
|
+
p_reason?: string;
|
|
24530
|
+
};
|
|
24531
|
+
Returns: Json;
|
|
24532
|
+
};
|
|
24355
24533
|
logistics_report_delay: {
|
|
24356
24534
|
Args: {
|
|
24357
24535
|
p_expected_date?: string;
|
|
@@ -24405,6 +24583,12 @@ export type Database = {
|
|
|
24405
24583
|
};
|
|
24406
24584
|
Returns: Json;
|
|
24407
24585
|
};
|
|
24586
|
+
logistics_resolve_product_id: {
|
|
24587
|
+
Args: {
|
|
24588
|
+
p_label: string;
|
|
24589
|
+
};
|
|
24590
|
+
Returns: string;
|
|
24591
|
+
};
|
|
24408
24592
|
logistics_resolve_settings: {
|
|
24409
24593
|
Args: {
|
|
24410
24594
|
p_config_id: string;
|
|
@@ -24534,6 +24718,10 @@ export type Database = {
|
|
|
24534
24718
|
};
|
|
24535
24719
|
Returns: number;
|
|
24536
24720
|
};
|
|
24721
|
+
logistics_tick_ping: {
|
|
24722
|
+
Args: never;
|
|
24723
|
+
Returns: string;
|
|
24724
|
+
};
|
|
24537
24725
|
logistics_upsert_task: {
|
|
24538
24726
|
Args: {
|
|
24539
24727
|
p_buffer_ref: string;
|
|
@@ -24718,6 +24906,10 @@ export type Database = {
|
|
|
24718
24906
|
online: boolean;
|
|
24719
24907
|
}[];
|
|
24720
24908
|
};
|
|
24909
|
+
pick_apply_buffer_events: {
|
|
24910
|
+
Args: never;
|
|
24911
|
+
Returns: Json;
|
|
24912
|
+
};
|
|
24721
24913
|
pick_available_pick_days: {
|
|
24722
24914
|
Args: {
|
|
24723
24915
|
_max_days?: number;
|
|
@@ -25645,6 +25837,12 @@ export type Database = {
|
|
|
25645
25837
|
};
|
|
25646
25838
|
Returns: boolean;
|
|
25647
25839
|
};
|
|
25840
|
+
release_job_lock: {
|
|
25841
|
+
Args: {
|
|
25842
|
+
_key: string;
|
|
25843
|
+
};
|
|
25844
|
+
Returns: undefined;
|
|
25845
|
+
};
|
|
25648
25846
|
release_local_pdf_job: {
|
|
25649
25847
|
Args: {
|
|
25650
25848
|
_job_id: string;
|
|
@@ -26333,6 +26531,14 @@ export type Database = {
|
|
|
26333
26531
|
row_count: number;
|
|
26334
26532
|
}[];
|
|
26335
26533
|
};
|
|
26534
|
+
try_acquire_job_lock: {
|
|
26535
|
+
Args: {
|
|
26536
|
+
_key: string;
|
|
26537
|
+
_owner?: string;
|
|
26538
|
+
_seconds?: number;
|
|
26539
|
+
};
|
|
26540
|
+
Returns: boolean;
|
|
26541
|
+
};
|
|
26336
26542
|
try_debtor_lock: {
|
|
26337
26543
|
Args: {
|
|
26338
26544
|
_group_key: string;
|