Commit Graph

40 Commits

Author SHA1 Message Date
Helena
99e62b91a5 use analysis order id as valis tellimuse id (#92)
* use order analysis id as valis tellimuse id

* send analysis order id in xml
2025-09-10 16:54:12 +03:00
7d208b41f2 update naming to be clearer 2025-09-09 14:01:19 +03:00
fd94320295 use analysisElementMedusaProductIds from order product selected variant if it exists 2025-09-09 09:56:57 +03:00
f00899c456 move medipost xml to separate service to be unit tested 2025-09-09 09:56:34 +03:00
c08fe26b36 remove comments from order xml 2025-09-05 15:13:14 +03:00
2435e6f113 update medipost order xml for live 2025-09-05 15:09:27 +03:00
6e9cde6b95 medusa product can have either analysiselement or analysis originalId 2025-09-04 13:20:09 +03:00
b046b6ab16 use recipient from env as it's different in live 2025-09-03 13:31:41 +03:00
b4985afdf0 feat(MED-85): add logging for medipost response error xml 2025-08-28 12:25:18 +03:00
a37c4cad9c feat(MED-85): add logging for medipost actions with xml and related order id 2025-08-28 11:56:07 +03:00
a547503887 Merge branch 'main' into MED-85 2025-08-27 08:31:26 +03:00
380363922c feat(MED-85): improve results sync logs 2025-08-27 08:07:18 +03:00
2b2a0b8bc4 feat(MED-85): update dispatch order to medipost retry 2025-08-27 08:05:52 +03:00
Helena
d017834b8c MED-90: improve doctor analysis detail view (#57)
* add doctor jobs view

* change translation

* another translation change

* clean up

* add analaysis detail view to paths config

* translation

* merge fix

* fix path

* MED-90: improve doctor analysis detail view

* add key
2025-08-25 16:49:04 +03:00
da8b5aa59f feat(MED-85): create logs of sending order to medipost success/error 2025-08-25 12:22:29 +03:00
Karli
d65a6e8a4a feat(MED-105): update sending test analysis results 2025-08-18 13:20:06 +03:00
1285b02f9c feat(MED-105): update analysis results view to be by analysis order 2025-08-14 12:10:12 +03:00
63b86c0abb feat(MED-87): update status on results 2025-08-11 10:41:01 +03:00
77d58ef5b1 feat(MED-131): fix analysis element ids 2025-08-04 17:41:32 +03:00
84b629ab0b feat(MED-131): remove private messages with unknown order ID from queue 2025-08-04 16:29:50 +03:00
30c7d192fa feat(MED-131): fix validation 2025-08-04 16:28:24 +03:00
8790b515d5 feat(MED-131): fix medusa vs medipost vs b2b product ids mixed 2025-08-04 16:27:54 +03:00
36816cfcd5 feat(MED-131): improve logging, error validation 2025-08-04 16:26:26 +03:00
58e2b8dc81 feat(MED-131): send to medipost on montonio callback 2025-08-04 16:24:28 +03:00
b2003ad30d feat(MED-131): move medipost xml logic to service 2025-08-04 12:49:03 +03:00
7c3aa45ec7 feat(MED-131): update analyses on package logic 2025-08-04 11:55:23 +03:00
91f6dd11be feat(MED-131): handle analysis order 2025-08-04 11:53:04 +03:00
08950896e5 feat(MED-131): improve xml response code validation 2025-08-04 11:52:57 +03:00
ee60a78335 feat(MED-131): update analyses sync to medusa store 2025-08-04 11:52:09 +03:00
43493c261c feat(MED-131): move jobs to /api/job/* secured with key 2025-08-04 11:51:11 +03:00
c91adc7521 feat(MED-85): fix wrong env variable name 2025-07-31 12:00:13 +03:00
Danel Kungla
87dfcf55e6 MED-105: create analysis results page 2025-07-15 17:12:52 +03:00
Danel Kungla
d9198a8a12 add medreport schema 2025-07-09 13:31:37 +03:00
Helena
848dbb1618 move product_id to medusa_product_id, make all product relations one-to-one (#30)
Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-07-04 14:33:23 +03:00
Helena
538a17031a B2B-52: add Connected Online syncing, tables and functions (#18)
* B2B-52: add Connected Online syncing, tables and functions

* clean up

* improve autogenerated types

* add use server directive

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-18 17:06:24 +03:00
Helena
0d560e5a02 B2B-86: add function to save order response (#11)
* fix import

* B2B-86: add function to save order response

* fix private message parsing

* generate new types

* clean up

* remove comment

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-11 18:25:53 +03:00
Helena
5a1040b888 B2B-85: add order xml generation (#8)
* B2B-85: add order xml generation

* some fixes after merge

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-09 15:58:50 +03:00
Helena
f5079e4e97 B2B-84: add public message sync function and audit schema (#5)
* B2B-84: add public message sync function and audit schema

* clean up unnecessary comment

* clean up unnecessary seed file

* address comments

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-06-06 13:34:25 +03:00
Helena
657a36a298 B2B-82: Add private message functions (#2)
* B2B-82: Add private message functions

* refactor

* create enum for medipost action types

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-05-23 13:20:14 +03:00
Helena
464752abb2 B2B-48: Added public message get functions and generated local supabase conf (#1)
* B2B-48: Added public message get functions and local supabase conf

* only get the message list with the highest id

* handle case when no public list messages found

* change function name to reflect behavior more clearly

---------

Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
2025-05-21 13:09:39 +03:00