@flowselections/logistiek-engine 1.0.32 → 1.0.34

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 (46) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/FloridayPoortCard.d.ts +2 -0
  3. package/dist-lib/components/FloridayPoortCard.d.ts.map +1 -0
  4. package/dist-lib/components/FloridayPoortCard.js +29 -0
  5. package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
  6. package/dist-lib/components/LogistiekEnginePage.js +2 -1
  7. package/dist-lib/hooks/useFloridayGate.d.ts +40 -0
  8. package/dist-lib/hooks/useFloridayGate.d.ts.map +1 -0
  9. package/dist-lib/hooks/useFloridayGate.js +50 -0
  10. package/dist-lib/index.d.ts +2 -0
  11. package/dist-lib/index.d.ts.map +1 -1
  12. package/dist-lib/index.js +2 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts +162 -0
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.d.ts +158 -1515
  16. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.server.d.ts +162 -0
  18. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/moduleClient.d.ts +162 -0
  20. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +162 -0
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/floridayDocuments.functions.d.ts +486 -0
  24. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floridayDocuments.server.d.ts +3 -4
  26. package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
  27. package/dist-lib/lib/floridayDocuments.server.js +24 -15
  28. package/dist-lib/lib/floridayGuard.server.d.ts +32 -0
  29. package/dist-lib/lib/floridayGuard.server.d.ts.map +1 -0
  30. package/dist-lib/lib/floridayGuard.server.js +137 -0
  31. package/dist-lib/lib/floridayPush.functions.d.ts +162 -0
  32. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  34. package/dist-lib/lib/floridayPush.server.js +1 -1
  35. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +810 -0
  36. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +324 -0
  38. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +162 -0
  40. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/modulePrompts.d.ts +1 -0
  42. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  43. package/dist-lib/lib/modulePrompts.js +2707 -2578
  44. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  45. package/dist-lib/lib/ruleEngineSchema.js +7 -0
  46. package/package.json +1 -1
@@ -10076,6 +10076,36 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
10076
10076
  };
10077
10077
  Relationships: [];
10078
10078
  };
10079
+ logistics_floriday_push_refusals: {
10080
+ Row: {
10081
+ action: string | null;
10082
+ created_at: string;
10083
+ id: string;
10084
+ order_ref: string;
10085
+ reason: string;
10086
+ source_module: string | null;
10087
+ source_shell: string | null;
10088
+ };
10089
+ Insert: {
10090
+ action?: string | null;
10091
+ created_at?: string;
10092
+ id?: string;
10093
+ order_ref: string;
10094
+ reason: string;
10095
+ source_module?: string | null;
10096
+ source_shell?: string | null;
10097
+ };
10098
+ Update: {
10099
+ action?: string | null;
10100
+ created_at?: string;
10101
+ id?: string;
10102
+ order_ref?: string;
10103
+ reason?: string;
10104
+ source_module?: string | null;
10105
+ source_shell?: string | null;
10106
+ };
10107
+ Relationships: [];
10108
+ };
10079
10109
  logistics_floriday_pushes: {
10080
10110
  Row: {
10081
10111
  attempts: number;
@@ -10151,6 +10181,42 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
10151
10181
  };
10152
10182
  Relationships: [];
10153
10183
  };
10184
+ logistics_floriday_status_sends: {
10185
+ Row: {
10186
+ action: string;
10187
+ created_at: string;
10188
+ detail: string | null;
10189
+ http_status: number | null;
10190
+ id: string;
10191
+ ok: boolean;
10192
+ order_ref: string;
10193
+ source_module: string | null;
10194
+ source_shell: string | null;
10195
+ };
10196
+ Insert: {
10197
+ action: string;
10198
+ created_at?: string;
10199
+ detail?: string | null;
10200
+ http_status?: number | null;
10201
+ id?: string;
10202
+ ok?: boolean;
10203
+ order_ref: string;
10204
+ source_module?: string | null;
10205
+ source_shell?: string | null;
10206
+ };
10207
+ Update: {
10208
+ action?: string;
10209
+ created_at?: string;
10210
+ detail?: string | null;
10211
+ http_status?: number | null;
10212
+ id?: string;
10213
+ ok?: boolean;
10214
+ order_ref?: string;
10215
+ source_module?: string | null;
10216
+ source_shell?: string | null;
10217
+ };
10218
+ Relationships: [];
10219
+ };
10154
10220
  logistics_formulas: {
10155
10221
  Row: {
10156
10222
  created_at: string;
@@ -19322,6 +19388,36 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19322
19388
  referencedColumns: ["id"];
19323
19389
  }];
19324
19390
  };
19391
+ voorraad_buffer_state: {
19392
+ Row: {
19393
+ buffer_id: string;
19394
+ buffer_key: string | null;
19395
+ closed_at: string | null;
19396
+ created_at: string;
19397
+ detached_orders: import("./types").Json;
19398
+ reason: string | null;
19399
+ updated_at: string;
19400
+ };
19401
+ Insert: {
19402
+ buffer_id: string;
19403
+ buffer_key?: string | null;
19404
+ closed_at?: string | null;
19405
+ created_at?: string;
19406
+ detached_orders?: import("./types").Json;
19407
+ reason?: string | null;
19408
+ updated_at?: string;
19409
+ };
19410
+ Update: {
19411
+ buffer_id?: string;
19412
+ buffer_key?: string | null;
19413
+ closed_at?: string | null;
19414
+ created_at?: string;
19415
+ detached_orders?: import("./types").Json;
19416
+ reason?: string | null;
19417
+ updated_at?: string;
19418
+ };
19419
+ Relationships: [];
19420
+ };
19325
19421
  voorraad_custom_fields: {
19326
19422
  Row: {
19327
19423
  created_at: string;
@@ -19364,6 +19460,36 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19364
19460
  };
19365
19461
  Relationships: [];
19366
19462
  };
19463
+ voorraad_logistics_event_log: {
19464
+ Row: {
19465
+ created_at: string;
19466
+ event_id: string;
19467
+ event_type: string;
19468
+ order_ref: string | null;
19469
+ processed_at: string;
19470
+ result: import("./types").Json;
19471
+ updated_at: string;
19472
+ };
19473
+ Insert: {
19474
+ created_at?: string;
19475
+ event_id: string;
19476
+ event_type: string;
19477
+ order_ref?: string | null;
19478
+ processed_at?: string;
19479
+ result?: import("./types").Json;
19480
+ updated_at?: string;
19481
+ };
19482
+ Update: {
19483
+ created_at?: string;
19484
+ event_id?: string;
19485
+ event_type?: string;
19486
+ order_ref?: string | null;
19487
+ processed_at?: string;
19488
+ result?: import("./types").Json;
19489
+ updated_at?: string;
19490
+ };
19491
+ Relationships: [];
19492
+ };
19367
19493
  voorraad_media_upload_failures: {
19368
19494
  Row: {
19369
19495
  action: string;
@@ -23617,6 +23743,38 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23617
23743
  };
23618
23744
  Returns: string;
23619
23745
  };
23746
+ logistics_floriday_gate_status: {
23747
+ Args: never;
23748
+ Returns: import("./types").Json;
23749
+ };
23750
+ logistics_floriday_log_refusal: {
23751
+ Args: {
23752
+ _action?: string;
23753
+ _module?: string;
23754
+ _order_ref: string;
23755
+ _reason: string;
23756
+ _shell?: string;
23757
+ };
23758
+ Returns: undefined;
23759
+ };
23760
+ logistics_floriday_log_send: {
23761
+ Args: {
23762
+ _action: string;
23763
+ _detail?: string;
23764
+ _http_status?: number;
23765
+ _module?: string;
23766
+ _ok: boolean;
23767
+ _order_ref: string;
23768
+ _shell?: string;
23769
+ };
23770
+ Returns: undefined;
23771
+ };
23772
+ logistics_floriday_order_approved: {
23773
+ Args: {
23774
+ _order_ref: string;
23775
+ };
23776
+ Returns: boolean;
23777
+ };
23620
23778
  logistics_floriday_prune_pushes: {
23621
23779
  Args: {
23622
23780
  _days?: number;
@@ -23631,6 +23789,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23631
23789
  };
23632
23790
  Returns: string;
23633
23791
  };
23792
+ logistics_floriday_status_updates_enabled: {
23793
+ Args: never;
23794
+ Returns: boolean;
23795
+ };
23634
23796
  logistics_fulfill_barcode_requests: {
23635
23797
  Args: {
23636
23798
  p_limit?: number;