@flowselections/logistiek-engine 1.0.28 → 1.0.29

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.
Files changed (34) hide show
  1. package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts +2 -0
  2. package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -0
  3. package/dist-lib/components/GeblokkeerdeOrdersCard.js +44 -0
  4. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  5. package/dist-lib/components/RegiePage.js +2 -1
  6. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +28 -0
  7. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -0
  8. package/dist-lib/hooks/useGeblokkeerdeOrders.js +94 -0
  9. package/dist-lib/index.d.ts +1 -0
  10. package/dist-lib/index.d.ts.map +1 -1
  11. package/dist-lib/index.js +1 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts +52 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/client.server.d.ts +52 -0
  15. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/moduleClient.d.ts +52 -0
  17. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/types.d.ts +52 -0
  19. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  20. package/dist-lib/lib/floridayDocuments.functions.d.ts +156 -0
  21. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floridayPush.functions.d.ts +52 -0
  23. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  25. package/dist-lib/lib/handlers/logistics-tick.server.js +7 -0
  26. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +260 -0
  27. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  29. package/dist-lib/lib/loadCarrierPlanning.server.js +23 -3
  30. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +104 -0
  31. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +52 -0
  33. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -10503,6 +10503,7 @@ export type Database = {
10503
10503
  next_attempt_at: string;
10504
10504
  order_id: string;
10505
10505
  reason: string;
10506
+ reason_code: string | null;
10506
10507
  status: string;
10507
10508
  updated_at: string;
10508
10509
  };
@@ -10515,6 +10516,7 @@ export type Database = {
10515
10516
  next_attempt_at?: string;
10516
10517
  order_id: string;
10517
10518
  reason?: string;
10519
+ reason_code?: string | null;
10518
10520
  status?: string;
10519
10521
  updated_at?: string;
10520
10522
  };
@@ -10527,6 +10529,7 @@ export type Database = {
10527
10529
  next_attempt_at?: string;
10528
10530
  order_id?: string;
10529
10531
  reason?: string;
10532
+ reason_code?: string | null;
10530
10533
  status?: string;
10531
10534
  updated_at?: string;
10532
10535
  };
@@ -11244,6 +11247,21 @@ export type Database = {
11244
11247
  }
11245
11248
  ];
11246
11249
  };
11250
+ logistics_tick_heartbeat: {
11251
+ Row: {
11252
+ id: boolean;
11253
+ last_tick_at: string;
11254
+ };
11255
+ Insert: {
11256
+ id?: boolean;
11257
+ last_tick_at?: string;
11258
+ };
11259
+ Update: {
11260
+ id?: boolean;
11261
+ last_tick_at?: string;
11262
+ };
11263
+ Relationships: [];
11264
+ };
11247
11265
  logistics_variables: {
11248
11266
  Row: {
11249
11267
  created_at: string;
@@ -23430,6 +23448,30 @@ export type Database = {
23430
23448
  };
23431
23449
  Returns: Json;
23432
23450
  };
23451
+ logistics_block_reason_code: {
23452
+ Args: {
23453
+ p_details?: Json;
23454
+ p_reason: string;
23455
+ };
23456
+ Returns: string;
23457
+ };
23458
+ logistics_blocked_orders: {
23459
+ Args: never;
23460
+ Returns: {
23461
+ attempts: number;
23462
+ blocked_since: string;
23463
+ delivery_date: string;
23464
+ order_id: string;
23465
+ order_ref: string;
23466
+ queue_id: string;
23467
+ reason: string;
23468
+ reason_code: string;
23469
+ }[];
23470
+ };
23471
+ logistics_blocked_overview: {
23472
+ Args: never;
23473
+ Returns: Json;
23474
+ };
23433
23475
  logistics_buffer_criteria: {
23434
23476
  Args: {
23435
23477
  p_settings: Json;
@@ -24299,6 +24341,12 @@ export type Database = {
24299
24341
  Args: never;
24300
24342
  Returns: number;
24301
24343
  };
24344
+ logistics_plan_retry: {
24345
+ Args: {
24346
+ p_order_ids: string[];
24347
+ };
24348
+ Returns: number;
24349
+ };
24302
24350
  logistics_plan_setting: {
24303
24351
  Args: {
24304
24352
  p_default: number;
@@ -24534,6 +24582,10 @@ export type Database = {
24534
24582
  };
24535
24583
  Returns: number;
24536
24584
  };
24585
+ logistics_tick_ping: {
24586
+ Args: never;
24587
+ Returns: string;
24588
+ };
24537
24589
  logistics_upsert_task: {
24538
24590
  Args: {
24539
24591
  p_buffer_ref: string;