@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.
- package/README.md +24 -24
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.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/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 +2 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +154 -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 +154 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +154 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +154 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +462 -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 +154 -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 +14 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +770 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +308 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +154 -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;
|
|
@@ -13976,6 +14009,27 @@ export type Database = {
|
|
|
13976
14009
|
};
|
|
13977
14010
|
Relationships: [];
|
|
13978
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
|
+
};
|
|
13979
14033
|
pick_countries: {
|
|
13980
14034
|
Row: {
|
|
13981
14035
|
active: boolean;
|
|
@@ -22719,6 +22773,17 @@ export type Database = {
|
|
|
22719
22773
|
};
|
|
22720
22774
|
Returns: boolean;
|
|
22721
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
|
+
};
|
|
22722
22787
|
floriday_capture_stock_snapshot: {
|
|
22723
22788
|
Args: never;
|
|
22724
22789
|
Returns: number;
|
|
@@ -22776,6 +22841,12 @@ export type Database = {
|
|
|
22776
22841
|
};
|
|
22777
22842
|
Returns: undefined;
|
|
22778
22843
|
};
|
|
22844
|
+
floriday_relink_products: {
|
|
22845
|
+
Args: {
|
|
22846
|
+
p_connection_id?: string;
|
|
22847
|
+
};
|
|
22848
|
+
Returns: Json;
|
|
22849
|
+
};
|
|
22779
22850
|
floriday_requeue_dead_letters: {
|
|
22780
22851
|
Args: {
|
|
22781
22852
|
p_connection_id?: string;
|
|
@@ -23397,6 +23468,10 @@ export type Database = {
|
|
|
23397
23468
|
};
|
|
23398
23469
|
Returns: string;
|
|
23399
23470
|
};
|
|
23471
|
+
logistics_active_layout_method: {
|
|
23472
|
+
Args: never;
|
|
23473
|
+
Returns: string;
|
|
23474
|
+
};
|
|
23400
23475
|
logistics_active_pick_workdays: {
|
|
23401
23476
|
Args: never;
|
|
23402
23477
|
Returns: string[];
|
|
@@ -23486,6 +23561,39 @@ export type Database = {
|
|
|
23486
23561
|
};
|
|
23487
23562
|
Returns: Json;
|
|
23488
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
|
+
};
|
|
23489
23597
|
logistics_buffer_simulate: {
|
|
23490
23598
|
Args: {
|
|
23491
23599
|
p_orders?: Json;
|
|
@@ -24127,6 +24235,16 @@ export type Database = {
|
|
|
24127
24235
|
};
|
|
24128
24236
|
Returns: boolean;
|
|
24129
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
|
+
};
|
|
24130
24248
|
logistics_live_carriers: {
|
|
24131
24249
|
Args: {
|
|
24132
24250
|
p_order_ref: string;
|
|
@@ -24153,6 +24271,12 @@ export type Database = {
|
|
|
24153
24271
|
};
|
|
24154
24272
|
Returns: string;
|
|
24155
24273
|
};
|
|
24274
|
+
logistics_normalize_product_label: {
|
|
24275
|
+
Args: {
|
|
24276
|
+
p_label: string;
|
|
24277
|
+
};
|
|
24278
|
+
Returns: string;
|
|
24279
|
+
};
|
|
24156
24280
|
logistics_not_past: {
|
|
24157
24281
|
Args: {
|
|
24158
24282
|
p_ts: string;
|
|
@@ -24400,6 +24524,12 @@ export type Database = {
|
|
|
24400
24524
|
};
|
|
24401
24525
|
Returns: Json;
|
|
24402
24526
|
};
|
|
24527
|
+
logistics_replan_all: {
|
|
24528
|
+
Args: {
|
|
24529
|
+
p_reason?: string;
|
|
24530
|
+
};
|
|
24531
|
+
Returns: Json;
|
|
24532
|
+
};
|
|
24403
24533
|
logistics_report_delay: {
|
|
24404
24534
|
Args: {
|
|
24405
24535
|
p_expected_date?: string;
|
|
@@ -24453,6 +24583,12 @@ export type Database = {
|
|
|
24453
24583
|
};
|
|
24454
24584
|
Returns: Json;
|
|
24455
24585
|
};
|
|
24586
|
+
logistics_resolve_product_id: {
|
|
24587
|
+
Args: {
|
|
24588
|
+
p_label: string;
|
|
24589
|
+
};
|
|
24590
|
+
Returns: string;
|
|
24591
|
+
};
|
|
24456
24592
|
logistics_resolve_settings: {
|
|
24457
24593
|
Args: {
|
|
24458
24594
|
p_config_id: string;
|
|
@@ -24770,6 +24906,10 @@ export type Database = {
|
|
|
24770
24906
|
online: boolean;
|
|
24771
24907
|
}[];
|
|
24772
24908
|
};
|
|
24909
|
+
pick_apply_buffer_events: {
|
|
24910
|
+
Args: never;
|
|
24911
|
+
Returns: Json;
|
|
24912
|
+
};
|
|
24773
24913
|
pick_available_pick_days: {
|
|
24774
24914
|
Args: {
|
|
24775
24915
|
_max_days?: number;
|
|
@@ -25697,6 +25837,12 @@ export type Database = {
|
|
|
25697
25837
|
};
|
|
25698
25838
|
Returns: boolean;
|
|
25699
25839
|
};
|
|
25840
|
+
release_job_lock: {
|
|
25841
|
+
Args: {
|
|
25842
|
+
_key: string;
|
|
25843
|
+
};
|
|
25844
|
+
Returns: undefined;
|
|
25845
|
+
};
|
|
25700
25846
|
release_local_pdf_job: {
|
|
25701
25847
|
Args: {
|
|
25702
25848
|
_job_id: string;
|
|
@@ -26385,6 +26531,14 @@ export type Database = {
|
|
|
26385
26531
|
row_count: number;
|
|
26386
26532
|
}[];
|
|
26387
26533
|
};
|
|
26534
|
+
try_acquire_job_lock: {
|
|
26535
|
+
Args: {
|
|
26536
|
+
_key: string;
|
|
26537
|
+
_owner?: string;
|
|
26538
|
+
_seconds?: number;
|
|
26539
|
+
};
|
|
26540
|
+
Returns: boolean;
|
|
26541
|
+
};
|
|
26388
26542
|
try_debtor_lock: {
|
|
26389
26543
|
Args: {
|
|
26390
26544
|
_group_key: string;
|