@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
@@ -10075,6 +10075,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10075
10075
  };
10076
10076
  Relationships: [];
10077
10077
  };
10078
+ logistics_floriday_push_refusals: {
10079
+ Row: {
10080
+ action: string | null;
10081
+ created_at: string;
10082
+ id: string;
10083
+ order_ref: string;
10084
+ reason: string;
10085
+ source_module: string | null;
10086
+ source_shell: string | null;
10087
+ };
10088
+ Insert: {
10089
+ action?: string | null;
10090
+ created_at?: string;
10091
+ id?: string;
10092
+ order_ref: string;
10093
+ reason: string;
10094
+ source_module?: string | null;
10095
+ source_shell?: string | null;
10096
+ };
10097
+ Update: {
10098
+ action?: string | null;
10099
+ created_at?: string;
10100
+ id?: string;
10101
+ order_ref?: string;
10102
+ reason?: string;
10103
+ source_module?: string | null;
10104
+ source_shell?: string | null;
10105
+ };
10106
+ Relationships: [];
10107
+ };
10078
10108
  logistics_floriday_pushes: {
10079
10109
  Row: {
10080
10110
  attempts: number;
@@ -10150,6 +10180,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10150
10180
  };
10151
10181
  Relationships: [];
10152
10182
  };
10183
+ logistics_floriday_status_sends: {
10184
+ Row: {
10185
+ action: string;
10186
+ created_at: string;
10187
+ detail: string | null;
10188
+ http_status: number | null;
10189
+ id: string;
10190
+ ok: boolean;
10191
+ order_ref: string;
10192
+ source_module: string | null;
10193
+ source_shell: string | null;
10194
+ };
10195
+ Insert: {
10196
+ action: string;
10197
+ created_at?: string;
10198
+ detail?: string | null;
10199
+ http_status?: number | null;
10200
+ id?: string;
10201
+ ok?: boolean;
10202
+ order_ref: string;
10203
+ source_module?: string | null;
10204
+ source_shell?: string | null;
10205
+ };
10206
+ Update: {
10207
+ action?: string;
10208
+ created_at?: string;
10209
+ detail?: string | null;
10210
+ http_status?: number | null;
10211
+ id?: string;
10212
+ ok?: boolean;
10213
+ order_ref?: string;
10214
+ source_module?: string | null;
10215
+ source_shell?: string | null;
10216
+ };
10217
+ Relationships: [];
10218
+ };
10153
10219
  logistics_formulas: {
10154
10220
  Row: {
10155
10221
  created_at: string;
@@ -19321,6 +19387,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19321
19387
  referencedColumns: ["id"];
19322
19388
  }];
19323
19389
  };
19390
+ voorraad_buffer_state: {
19391
+ Row: {
19392
+ buffer_id: string;
19393
+ buffer_key: string | null;
19394
+ closed_at: string | null;
19395
+ created_at: string;
19396
+ detached_orders: import("./types").Json;
19397
+ reason: string | null;
19398
+ updated_at: string;
19399
+ };
19400
+ Insert: {
19401
+ buffer_id: string;
19402
+ buffer_key?: string | null;
19403
+ closed_at?: string | null;
19404
+ created_at?: string;
19405
+ detached_orders?: import("./types").Json;
19406
+ reason?: string | null;
19407
+ updated_at?: string;
19408
+ };
19409
+ Update: {
19410
+ buffer_id?: string;
19411
+ buffer_key?: string | null;
19412
+ closed_at?: string | null;
19413
+ created_at?: string;
19414
+ detached_orders?: import("./types").Json;
19415
+ reason?: string | null;
19416
+ updated_at?: string;
19417
+ };
19418
+ Relationships: [];
19419
+ };
19324
19420
  voorraad_custom_fields: {
19325
19421
  Row: {
19326
19422
  created_at: string;
@@ -19363,6 +19459,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19363
19459
  };
19364
19460
  Relationships: [];
19365
19461
  };
19462
+ voorraad_logistics_event_log: {
19463
+ Row: {
19464
+ created_at: string;
19465
+ event_id: string;
19466
+ event_type: string;
19467
+ order_ref: string | null;
19468
+ processed_at: string;
19469
+ result: import("./types").Json;
19470
+ updated_at: string;
19471
+ };
19472
+ Insert: {
19473
+ created_at?: string;
19474
+ event_id: string;
19475
+ event_type: string;
19476
+ order_ref?: string | null;
19477
+ processed_at?: string;
19478
+ result?: import("./types").Json;
19479
+ updated_at?: string;
19480
+ };
19481
+ Update: {
19482
+ created_at?: string;
19483
+ event_id?: string;
19484
+ event_type?: string;
19485
+ order_ref?: string | null;
19486
+ processed_at?: string;
19487
+ result?: import("./types").Json;
19488
+ updated_at?: string;
19489
+ };
19490
+ Relationships: [];
19491
+ };
19366
19492
  voorraad_media_upload_failures: {
19367
19493
  Row: {
19368
19494
  action: string;
@@ -23616,6 +23742,38 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23616
23742
  };
23617
23743
  Returns: string;
23618
23744
  };
23745
+ logistics_floriday_gate_status: {
23746
+ Args: never;
23747
+ Returns: import("./types").Json;
23748
+ };
23749
+ logistics_floriday_log_refusal: {
23750
+ Args: {
23751
+ _action?: string;
23752
+ _module?: string;
23753
+ _order_ref: string;
23754
+ _reason: string;
23755
+ _shell?: string;
23756
+ };
23757
+ Returns: undefined;
23758
+ };
23759
+ logistics_floriday_log_send: {
23760
+ Args: {
23761
+ _action: string;
23762
+ _detail?: string;
23763
+ _http_status?: number;
23764
+ _module?: string;
23765
+ _ok: boolean;
23766
+ _order_ref: string;
23767
+ _shell?: string;
23768
+ };
23769
+ Returns: undefined;
23770
+ };
23771
+ logistics_floriday_order_approved: {
23772
+ Args: {
23773
+ _order_ref: string;
23774
+ };
23775
+ Returns: boolean;
23776
+ };
23619
23777
  logistics_floriday_prune_pushes: {
23620
23778
  Args: {
23621
23779
  _days?: number;
@@ -23630,6 +23788,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23630
23788
  };
23631
23789
  Returns: string;
23632
23790
  };
23791
+ logistics_floriday_status_updates_enabled: {
23792
+ Args: never;
23793
+ Returns: boolean;
23794
+ };
23633
23795
  logistics_fulfill_barcode_requests: {
23634
23796
  Args: {
23635
23797
  p_limit?: number;