@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
@@ -10341,6 +10341,36 @@ export type Database = {
10341
10341
  };
10342
10342
  Relationships: [];
10343
10343
  };
10344
+ logistics_floriday_push_refusals: {
10345
+ Row: {
10346
+ action: string | null;
10347
+ created_at: string;
10348
+ id: string;
10349
+ order_ref: string;
10350
+ reason: string;
10351
+ source_module: string | null;
10352
+ source_shell: string | null;
10353
+ };
10354
+ Insert: {
10355
+ action?: string | null;
10356
+ created_at?: string;
10357
+ id?: string;
10358
+ order_ref: string;
10359
+ reason: string;
10360
+ source_module?: string | null;
10361
+ source_shell?: string | null;
10362
+ };
10363
+ Update: {
10364
+ action?: string | null;
10365
+ created_at?: string;
10366
+ id?: string;
10367
+ order_ref?: string;
10368
+ reason?: string;
10369
+ source_module?: string | null;
10370
+ source_shell?: string | null;
10371
+ };
10372
+ Relationships: [];
10373
+ };
10344
10374
  logistics_floriday_pushes: {
10345
10375
  Row: {
10346
10376
  attempts: number;
@@ -10416,6 +10446,42 @@ export type Database = {
10416
10446
  };
10417
10447
  Relationships: [];
10418
10448
  };
10449
+ logistics_floriday_status_sends: {
10450
+ Row: {
10451
+ action: string;
10452
+ created_at: string;
10453
+ detail: string | null;
10454
+ http_status: number | null;
10455
+ id: string;
10456
+ ok: boolean;
10457
+ order_ref: string;
10458
+ source_module: string | null;
10459
+ source_shell: string | null;
10460
+ };
10461
+ Insert: {
10462
+ action: string;
10463
+ created_at?: string;
10464
+ detail?: string | null;
10465
+ http_status?: number | null;
10466
+ id?: string;
10467
+ ok?: boolean;
10468
+ order_ref: string;
10469
+ source_module?: string | null;
10470
+ source_shell?: string | null;
10471
+ };
10472
+ Update: {
10473
+ action?: string;
10474
+ created_at?: string;
10475
+ detail?: string | null;
10476
+ http_status?: number | null;
10477
+ id?: string;
10478
+ ok?: boolean;
10479
+ order_ref?: string;
10480
+ source_module?: string | null;
10481
+ source_shell?: string | null;
10482
+ };
10483
+ Relationships: [];
10484
+ };
10419
10485
  logistics_formulas: {
10420
10486
  Row: {
10421
10487
  created_at: string;
@@ -19843,6 +19909,36 @@ export type Database = {
19843
19909
  }
19844
19910
  ];
19845
19911
  };
19912
+ voorraad_buffer_state: {
19913
+ Row: {
19914
+ buffer_id: string;
19915
+ buffer_key: string | null;
19916
+ closed_at: string | null;
19917
+ created_at: string;
19918
+ detached_orders: Json;
19919
+ reason: string | null;
19920
+ updated_at: string;
19921
+ };
19922
+ Insert: {
19923
+ buffer_id: string;
19924
+ buffer_key?: string | null;
19925
+ closed_at?: string | null;
19926
+ created_at?: string;
19927
+ detached_orders?: Json;
19928
+ reason?: string | null;
19929
+ updated_at?: string;
19930
+ };
19931
+ Update: {
19932
+ buffer_id?: string;
19933
+ buffer_key?: string | null;
19934
+ closed_at?: string | null;
19935
+ created_at?: string;
19936
+ detached_orders?: Json;
19937
+ reason?: string | null;
19938
+ updated_at?: string;
19939
+ };
19940
+ Relationships: [];
19941
+ };
19846
19942
  voorraad_custom_fields: {
19847
19943
  Row: {
19848
19944
  created_at: string;
@@ -19885,6 +19981,36 @@ export type Database = {
19885
19981
  };
19886
19982
  Relationships: [];
19887
19983
  };
19984
+ voorraad_logistics_event_log: {
19985
+ Row: {
19986
+ created_at: string;
19987
+ event_id: string;
19988
+ event_type: string;
19989
+ order_ref: string | null;
19990
+ processed_at: string;
19991
+ result: Json;
19992
+ updated_at: string;
19993
+ };
19994
+ Insert: {
19995
+ created_at?: string;
19996
+ event_id: string;
19997
+ event_type: string;
19998
+ order_ref?: string | null;
19999
+ processed_at?: string;
20000
+ result?: Json;
20001
+ updated_at?: string;
20002
+ };
20003
+ Update: {
20004
+ created_at?: string;
20005
+ event_id?: string;
20006
+ event_type?: string;
20007
+ order_ref?: string | null;
20008
+ processed_at?: string;
20009
+ result?: Json;
20010
+ updated_at?: string;
20011
+ };
20012
+ Relationships: [];
20013
+ };
19888
20014
  voorraad_media_upload_failures: {
19889
20015
  Row: {
19890
20016
  action: string;
@@ -24201,6 +24327,38 @@ export type Database = {
24201
24327
  };
24202
24328
  Returns: string;
24203
24329
  };
24330
+ logistics_floriday_gate_status: {
24331
+ Args: never;
24332
+ Returns: Json;
24333
+ };
24334
+ logistics_floriday_log_refusal: {
24335
+ Args: {
24336
+ _action?: string;
24337
+ _module?: string;
24338
+ _order_ref: string;
24339
+ _reason: string;
24340
+ _shell?: string;
24341
+ };
24342
+ Returns: undefined;
24343
+ };
24344
+ logistics_floriday_log_send: {
24345
+ Args: {
24346
+ _action: string;
24347
+ _detail?: string;
24348
+ _http_status?: number;
24349
+ _module?: string;
24350
+ _ok: boolean;
24351
+ _order_ref: string;
24352
+ _shell?: string;
24353
+ };
24354
+ Returns: undefined;
24355
+ };
24356
+ logistics_floriday_order_approved: {
24357
+ Args: {
24358
+ _order_ref: string;
24359
+ };
24360
+ Returns: boolean;
24361
+ };
24204
24362
  logistics_floriday_prune_pushes: {
24205
24363
  Args: {
24206
24364
  _days?: number;
@@ -24215,6 +24373,10 @@ export type Database = {
24215
24373
  };
24216
24374
  Returns: string;
24217
24375
  };
24376
+ logistics_floriday_status_updates_enabled: {
24377
+ Args: never;
24378
+ Returns: boolean;
24379
+ };
24218
24380
  logistics_fulfill_barcode_requests: {
24219
24381
  Args: {
24220
24382
  p_limit?: number;