@flowselections/pick-schermen-kwekers 1.0.18 → 1.0.19
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/TemplateModulePage.d.ts +2 -0
- package/dist-lib/components/TemplateModulePage.d.ts.map +1 -0
- package/dist-lib/components/TemplateModulePage.js +44 -0
- package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
- package/dist-lib/components/pick/PickScherm.js +30 -2
- package/dist-lib/hooks/usePickQueue.d.ts +2 -0
- package/dist-lib/hooks/usePickQueue.d.ts.map +1 -1
- package/dist-lib/hooks/usePickQueue.js +30 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +194 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +194 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +194 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +194 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/layoutMaker/pakbonHtml.js +49 -49
- package/dist-lib/lib/layoutRenderer.js +17 -17
- package/dist-lib/lib/pickApi.d.ts +19 -0
- package/dist-lib/lib/pickApi.d.ts.map +1 -1
- package/dist-lib/lib/pickApi.js +28 -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;
|
|
@@ -23430,6 +23502,30 @@ export type Database = {
|
|
|
23430
23502
|
};
|
|
23431
23503
|
Returns: Json;
|
|
23432
23504
|
};
|
|
23505
|
+
logistics_block_reason_code: {
|
|
23506
|
+
Args: {
|
|
23507
|
+
p_details?: Json;
|
|
23508
|
+
p_reason: string;
|
|
23509
|
+
};
|
|
23510
|
+
Returns: string;
|
|
23511
|
+
};
|
|
23512
|
+
logistics_blocked_orders: {
|
|
23513
|
+
Args: never;
|
|
23514
|
+
Returns: {
|
|
23515
|
+
attempts: number;
|
|
23516
|
+
blocked_since: string;
|
|
23517
|
+
delivery_date: string;
|
|
23518
|
+
order_id: string;
|
|
23519
|
+
order_ref: string;
|
|
23520
|
+
queue_id: string;
|
|
23521
|
+
reason: string;
|
|
23522
|
+
reason_code: string;
|
|
23523
|
+
}[];
|
|
23524
|
+
};
|
|
23525
|
+
logistics_blocked_overview: {
|
|
23526
|
+
Args: never;
|
|
23527
|
+
Returns: Json;
|
|
23528
|
+
};
|
|
23433
23529
|
logistics_buffer_criteria: {
|
|
23434
23530
|
Args: {
|
|
23435
23531
|
p_settings: Json;
|
|
@@ -23444,6 +23540,39 @@ export type Database = {
|
|
|
23444
23540
|
};
|
|
23445
23541
|
Returns: Json;
|
|
23446
23542
|
};
|
|
23543
|
+
logistics_buffer_detach_late_orders: {
|
|
23544
|
+
Args: {
|
|
23545
|
+
p_buffer?: string;
|
|
23546
|
+
};
|
|
23547
|
+
Returns: Json;
|
|
23548
|
+
};
|
|
23549
|
+
logistics_buffer_frozen_order: {
|
|
23550
|
+
Args: {
|
|
23551
|
+
p_order_id: string;
|
|
23552
|
+
};
|
|
23553
|
+
Returns: boolean;
|
|
23554
|
+
};
|
|
23555
|
+
logistics_buffer_handled: {
|
|
23556
|
+
Args: {
|
|
23557
|
+
p_buffer: string;
|
|
23558
|
+
};
|
|
23559
|
+
Returns: boolean;
|
|
23560
|
+
};
|
|
23561
|
+
logistics_buffer_notify: {
|
|
23562
|
+
Args: {
|
|
23563
|
+
p_event_type: string;
|
|
23564
|
+
p_idempotency_key: string;
|
|
23565
|
+
p_order_ref: string;
|
|
23566
|
+
p_payload: Json;
|
|
23567
|
+
};
|
|
23568
|
+
Returns: string;
|
|
23569
|
+
};
|
|
23570
|
+
logistics_buffer_open_key: {
|
|
23571
|
+
Args: {
|
|
23572
|
+
p_base_key: string;
|
|
23573
|
+
};
|
|
23574
|
+
Returns: string;
|
|
23575
|
+
};
|
|
23447
23576
|
logistics_buffer_simulate: {
|
|
23448
23577
|
Args: {
|
|
23449
23578
|
p_orders?: Json;
|
|
@@ -23533,6 +23662,25 @@ export type Database = {
|
|
|
23533
23662
|
Args: never;
|
|
23534
23663
|
Returns: Json;
|
|
23535
23664
|
};
|
|
23665
|
+
logistics_cart_plan_overview: {
|
|
23666
|
+
Args: {
|
|
23667
|
+
p_days?: number;
|
|
23668
|
+
};
|
|
23669
|
+
Returns: {
|
|
23670
|
+
cart_total: number;
|
|
23671
|
+
delivery_date: string;
|
|
23672
|
+
order_ref: string;
|
|
23673
|
+
plan_ready: boolean;
|
|
23674
|
+
reason: string;
|
|
23675
|
+
released: boolean;
|
|
23676
|
+
}[];
|
|
23677
|
+
};
|
|
23678
|
+
logistics_cart_plan_status: {
|
|
23679
|
+
Args: {
|
|
23680
|
+
p_ref: string;
|
|
23681
|
+
};
|
|
23682
|
+
Returns: Json;
|
|
23683
|
+
};
|
|
23536
23684
|
logistics_cart_seq: {
|
|
23537
23685
|
Args: {
|
|
23538
23686
|
p_order_uuid?: string;
|
|
@@ -24066,6 +24214,12 @@ export type Database = {
|
|
|
24066
24214
|
};
|
|
24067
24215
|
Returns: boolean;
|
|
24068
24216
|
};
|
|
24217
|
+
logistics_link_order_items: {
|
|
24218
|
+
Args: {
|
|
24219
|
+
p_order?: string;
|
|
24220
|
+
};
|
|
24221
|
+
Returns: Json;
|
|
24222
|
+
};
|
|
24069
24223
|
logistics_live_carriers: {
|
|
24070
24224
|
Args: {
|
|
24071
24225
|
p_order_ref: string;
|
|
@@ -24092,6 +24246,12 @@ export type Database = {
|
|
|
24092
24246
|
};
|
|
24093
24247
|
Returns: string;
|
|
24094
24248
|
};
|
|
24249
|
+
logistics_normalize_product_label: {
|
|
24250
|
+
Args: {
|
|
24251
|
+
p_label: string;
|
|
24252
|
+
};
|
|
24253
|
+
Returns: string;
|
|
24254
|
+
};
|
|
24095
24255
|
logistics_not_past: {
|
|
24096
24256
|
Args: {
|
|
24097
24257
|
p_ts: string;
|
|
@@ -24280,6 +24440,12 @@ export type Database = {
|
|
|
24280
24440
|
Args: never;
|
|
24281
24441
|
Returns: number;
|
|
24282
24442
|
};
|
|
24443
|
+
logistics_plan_retry: {
|
|
24444
|
+
Args: {
|
|
24445
|
+
p_order_ids: string[];
|
|
24446
|
+
};
|
|
24447
|
+
Returns: number;
|
|
24448
|
+
};
|
|
24283
24449
|
logistics_plan_setting: {
|
|
24284
24450
|
Args: {
|
|
24285
24451
|
p_default: number;
|
|
@@ -24386,6 +24552,12 @@ export type Database = {
|
|
|
24386
24552
|
};
|
|
24387
24553
|
Returns: Json;
|
|
24388
24554
|
};
|
|
24555
|
+
logistics_resolve_product_id: {
|
|
24556
|
+
Args: {
|
|
24557
|
+
p_label: string;
|
|
24558
|
+
};
|
|
24559
|
+
Returns: string;
|
|
24560
|
+
};
|
|
24389
24561
|
logistics_resolve_settings: {
|
|
24390
24562
|
Args: {
|
|
24391
24563
|
p_config_id: string;
|
|
@@ -24515,6 +24687,10 @@ export type Database = {
|
|
|
24515
24687
|
};
|
|
24516
24688
|
Returns: number;
|
|
24517
24689
|
};
|
|
24690
|
+
logistics_tick_ping: {
|
|
24691
|
+
Args: never;
|
|
24692
|
+
Returns: string;
|
|
24693
|
+
};
|
|
24518
24694
|
logistics_upsert_task: {
|
|
24519
24695
|
Args: {
|
|
24520
24696
|
p_buffer_ref: string;
|
|
@@ -24699,6 +24875,10 @@ export type Database = {
|
|
|
24699
24875
|
online: boolean;
|
|
24700
24876
|
}[];
|
|
24701
24877
|
};
|
|
24878
|
+
pick_apply_buffer_events: {
|
|
24879
|
+
Args: never;
|
|
24880
|
+
Returns: Json;
|
|
24881
|
+
};
|
|
24702
24882
|
pick_available_pick_days: {
|
|
24703
24883
|
Args: {
|
|
24704
24884
|
_max_days?: number;
|
|
@@ -25626,6 +25806,12 @@ export type Database = {
|
|
|
25626
25806
|
};
|
|
25627
25807
|
Returns: boolean;
|
|
25628
25808
|
};
|
|
25809
|
+
release_job_lock: {
|
|
25810
|
+
Args: {
|
|
25811
|
+
_key: string;
|
|
25812
|
+
};
|
|
25813
|
+
Returns: undefined;
|
|
25814
|
+
};
|
|
25629
25815
|
release_local_pdf_job: {
|
|
25630
25816
|
Args: {
|
|
25631
25817
|
_job_id: string;
|
|
@@ -26314,6 +26500,14 @@ export type Database = {
|
|
|
26314
26500
|
row_count: number;
|
|
26315
26501
|
}[];
|
|
26316
26502
|
};
|
|
26503
|
+
try_acquire_job_lock: {
|
|
26504
|
+
Args: {
|
|
26505
|
+
_key: string;
|
|
26506
|
+
_owner?: string;
|
|
26507
|
+
_seconds?: number;
|
|
26508
|
+
};
|
|
26509
|
+
Returns: boolean;
|
|
26510
|
+
};
|
|
26317
26511
|
try_debtor_lock: {
|
|
26318
26512
|
Args: {
|
|
26319
26513
|
_group_key: string;
|