@flowselections/logistiek-engine 1.0.31 → 1.0.33

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 (43) 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 +28 -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 +30 -0
  8. package/dist-lib/hooks/useFloridayGate.d.ts.map +1 -0
  9. package/dist-lib/hooks/useFloridayGate.js +46 -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 +111 -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.map +1 -1
  42. package/dist-lib/lib/modulePrompts.js +2617 -2578
  43. package/package.json +1 -1
@@ -10080,6 +10080,36 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
10080
10080
  };
10081
10081
  Relationships: [];
10082
10082
  };
10083
+ logistics_floriday_push_refusals: {
10084
+ Row: {
10085
+ action: string | null;
10086
+ created_at: string;
10087
+ id: string;
10088
+ order_ref: string;
10089
+ reason: string;
10090
+ source_module: string | null;
10091
+ source_shell: string | null;
10092
+ };
10093
+ Insert: {
10094
+ action?: string | null;
10095
+ created_at?: string;
10096
+ id?: string;
10097
+ order_ref: string;
10098
+ reason: string;
10099
+ source_module?: string | null;
10100
+ source_shell?: string | null;
10101
+ };
10102
+ Update: {
10103
+ action?: string | null;
10104
+ created_at?: string;
10105
+ id?: string;
10106
+ order_ref?: string;
10107
+ reason?: string;
10108
+ source_module?: string | null;
10109
+ source_shell?: string | null;
10110
+ };
10111
+ Relationships: [];
10112
+ };
10083
10113
  logistics_floriday_pushes: {
10084
10114
  Row: {
10085
10115
  attempts: number;
@@ -10155,6 +10185,42 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
10155
10185
  };
10156
10186
  Relationships: [];
10157
10187
  };
10188
+ logistics_floriday_status_sends: {
10189
+ Row: {
10190
+ action: string;
10191
+ created_at: string;
10192
+ detail: string | null;
10193
+ http_status: number | null;
10194
+ id: string;
10195
+ ok: boolean;
10196
+ order_ref: string;
10197
+ source_module: string | null;
10198
+ source_shell: string | null;
10199
+ };
10200
+ Insert: {
10201
+ action: string;
10202
+ created_at?: string;
10203
+ detail?: string | null;
10204
+ http_status?: number | null;
10205
+ id?: string;
10206
+ ok?: boolean;
10207
+ order_ref: string;
10208
+ source_module?: string | null;
10209
+ source_shell?: string | null;
10210
+ };
10211
+ Update: {
10212
+ action?: string;
10213
+ created_at?: string;
10214
+ detail?: string | null;
10215
+ http_status?: number | null;
10216
+ id?: string;
10217
+ ok?: boolean;
10218
+ order_ref?: string;
10219
+ source_module?: string | null;
10220
+ source_shell?: string | null;
10221
+ };
10222
+ Relationships: [];
10223
+ };
10158
10224
  logistics_formulas: {
10159
10225
  Row: {
10160
10226
  created_at: string;
@@ -19326,6 +19392,36 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
19326
19392
  referencedColumns: ["id"];
19327
19393
  }];
19328
19394
  };
19395
+ voorraad_buffer_state: {
19396
+ Row: {
19397
+ buffer_id: string;
19398
+ buffer_key: string | null;
19399
+ closed_at: string | null;
19400
+ created_at: string;
19401
+ detached_orders: import("../integrations/supabase/types").Json;
19402
+ reason: string | null;
19403
+ updated_at: string;
19404
+ };
19405
+ Insert: {
19406
+ buffer_id: string;
19407
+ buffer_key?: string | null;
19408
+ closed_at?: string | null;
19409
+ created_at?: string;
19410
+ detached_orders?: import("../integrations/supabase/types").Json;
19411
+ reason?: string | null;
19412
+ updated_at?: string;
19413
+ };
19414
+ Update: {
19415
+ buffer_id?: string;
19416
+ buffer_key?: string | null;
19417
+ closed_at?: string | null;
19418
+ created_at?: string;
19419
+ detached_orders?: import("../integrations/supabase/types").Json;
19420
+ reason?: string | null;
19421
+ updated_at?: string;
19422
+ };
19423
+ Relationships: [];
19424
+ };
19329
19425
  voorraad_custom_fields: {
19330
19426
  Row: {
19331
19427
  created_at: string;
@@ -19368,6 +19464,36 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
19368
19464
  };
19369
19465
  Relationships: [];
19370
19466
  };
19467
+ voorraad_logistics_event_log: {
19468
+ Row: {
19469
+ created_at: string;
19470
+ event_id: string;
19471
+ event_type: string;
19472
+ order_ref: string | null;
19473
+ processed_at: string;
19474
+ result: import("../integrations/supabase/types").Json;
19475
+ updated_at: string;
19476
+ };
19477
+ Insert: {
19478
+ created_at?: string;
19479
+ event_id: string;
19480
+ event_type: string;
19481
+ order_ref?: string | null;
19482
+ processed_at?: string;
19483
+ result?: import("../integrations/supabase/types").Json;
19484
+ updated_at?: string;
19485
+ };
19486
+ Update: {
19487
+ created_at?: string;
19488
+ event_id?: string;
19489
+ event_type?: string;
19490
+ order_ref?: string | null;
19491
+ processed_at?: string;
19492
+ result?: import("../integrations/supabase/types").Json;
19493
+ updated_at?: string;
19494
+ };
19495
+ Relationships: [];
19496
+ };
19371
19497
  voorraad_media_upload_failures: {
19372
19498
  Row: {
19373
19499
  action: string;
@@ -23621,6 +23747,38 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
23621
23747
  };
23622
23748
  Returns: string;
23623
23749
  };
23750
+ logistics_floriday_gate_status: {
23751
+ Args: never;
23752
+ Returns: import("../integrations/supabase/types").Json;
23753
+ };
23754
+ logistics_floriday_log_refusal: {
23755
+ Args: {
23756
+ _action?: string;
23757
+ _module?: string;
23758
+ _order_ref: string;
23759
+ _reason: string;
23760
+ _shell?: string;
23761
+ };
23762
+ Returns: undefined;
23763
+ };
23764
+ logistics_floriday_log_send: {
23765
+ Args: {
23766
+ _action: string;
23767
+ _detail?: string;
23768
+ _http_status?: number;
23769
+ _module?: string;
23770
+ _ok: boolean;
23771
+ _order_ref: string;
23772
+ _shell?: string;
23773
+ };
23774
+ Returns: undefined;
23775
+ };
23776
+ logistics_floriday_order_approved: {
23777
+ Args: {
23778
+ _order_ref: string;
23779
+ };
23780
+ Returns: boolean;
23781
+ };
23624
23782
  logistics_floriday_prune_pushes: {
23625
23783
  Args: {
23626
23784
  _days?: number;
@@ -23635,6 +23793,10 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
23635
23793
  };
23636
23794
  Returns: string;
23637
23795
  };
23796
+ logistics_floriday_status_updates_enabled: {
23797
+ Args: never;
23798
+ Returns: boolean;
23799
+ };
23638
23800
  logistics_fulfill_barcode_requests: {
23639
23801
  Args: {
23640
23802
  p_limit?: number;