Commit Graph

5980 Commits

Author SHA1 Message Date
Viktor Bakurin
be8afcaa63 docs: fix ModuleRegistrationName import (#8434)
Closes #8433
2024-08-05 07:24:27 +00:00
Viktor Bakurin
8cb416e661 docs: fix deployment link (#8431)
Closes #8430
2024-08-05 07:24:05 +00:00
Viktor Bakurin
ec0a68ec88 docs: fix helloWorldLoader function definition (#8429)
- Make helloWorldLoader async to follow the type definition

Closes #8428
2024-08-05 07:23:49 +00:00
420coupe
a392b2be0c Update page.mdx (#8425)
corrected example to use createNotifications vs create
2024-08-05 07:21:11 +00:00
github-actions[bot]
80e44576fc chore(docs): Generated References (#8440)
Generated the following references:
- `product`
2024-08-05 06:52:39 +00:00
Harminder Virk
0706bab663 feature: introduce additional_data to the product endpoints (#8405) 2024-08-05 09:24:49 +05:30
Riqwan Thamir
bcad5052af fix(payment): validate total amount when refunding payment (#8437)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-04 15:32:06 +00:00
Stevche Radevski
4b0119f7ce fix: Don't remove pricing if no variant is passed to update (#8416) 2024-08-02 17:55:47 +02:00
Adrien de Peretti
8bde27153a fix(framework/config): Properly resolve env variables (#8411) 2024-08-02 16:24:32 +02:00
Shahed Nasser
4d99cd5e28 docs: fix recipes sidebar + homepage cards (#8415) 2024-08-02 16:31:17 +03:00
Shahed Nasser
58b405fac9 docs: added digital product recipe example (#8223)
- Added an example for the digital product recipe
- Fixes to the digital product recipe (overview)

Closes DOCS-792
2024-08-02 13:02:06 +00:00
Adrien de Peretti
e44332ba62 chore(framework): Allow multiple source dir for subcribers loader (#8407)
* chore(framework): Allow multiple source dir for subcribers loader

* re add  log

* add logs
2024-08-02 13:55:48 +02:00
Oli Juhl
afa740606f chore: Update labeler to add type labels automatically (#8410) 2024-08-02 13:55:32 +02:00
Adrien de Peretti
9950a7efe2 chore(framework): medusa app loaders (#8393)
RESOLVE FRMW-2636

**What**
cleanup and move medusa app loader for now
2024-08-02 10:38:36 +00:00
Shahed Nasser
c4ff8c27f0 docs: added subscription recipe example (#8148)
* docs: added subscription recipe

* fixed lint errors

* pass context and container to workflow

* rename context

* fix storefront customizations

* remove container from object

* updates based on latest changes

* fix workflow return

* general fixes
2024-08-02 12:40:26 +03:00
Carlos R. L. Rodrigues
5cae91040e chore(core-flows): use create order step on complete cart (#8397) 2024-08-02 06:18:39 -03:00
Stevche Radevski
dbfc145ab3 fix: Check for existence of modules when seeding default data (#8406) 2024-08-02 08:44:57 +00:00
Riqwan Thamir
ce8c90838d fix(core-flows,utils,medusa): fix bug where payment collection across orders were getting updated (#8401)
This took embarrassingly long to debug. :|

what:

- fixes a bug where the payment collection of other orders were getting updated
- adds order status to payments section

<img width="1069" alt="Screenshot 2024-08-02 at 08 37 38" src="https://github.com/user-attachments/assets/31776bd3-e6b9-4d23-8be6-f972f7316cf3">
<img width="1072" alt="Screenshot 2024-08-02 at 08 37 48" src="https://github.com/user-attachments/assets/38cdd8a1-9f31-4920-91bf-a3554e298960">
2024-08-02 08:34:42 +00:00
Stevche Radevski
3a068c6b27 feat: Use tag ids instead of values wherever possible (#8394) 2024-08-02 09:22:03 +02:00
github-actions[bot]
71f0d24359 chore(docs): Generated References (#8400)
Generated the following references:
- `api_key`
- `auth`
- `auth_provider`
- `cart`
- `currency`
- `customer`
- `dml`
- `file`
- `fulfillment`
- `fulfillment_provider`
- `inventory_next`
- `medusa`
- `modules`
- `modules_sdk`
- `notification`
- `order`
- `order_models`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `workflows`
2024-08-02 07:05:39 +00:00
Harminder Virk
c2faca1e8b fix: pass updatedCollections to the hook and not the step (#8402) 2024-08-02 10:27:03 +05:30
Frane Polić
2280d31396 feat(dashboard, js-sdk, types): receive return e2e (#8305)
**What**
- receive return flow
- order summary section adjustments
- fix received item in summary
- activity event

---

CLOSES TRI-79 CC-256
2024-08-01 18:29:11 +00:00
Riqwan Thamir
7ae1d80380 feat(dashboard,types,js-sdk,payment): ability to refund payment in order page (#8385)
* feat(dashboard,types,js-sdk,payment): ability to refund payment in order page

* chore: use confirmation variant for capture payment

* chore: change refund design accords to figma

* chore: move to js-sdk + currency input
2024-08-01 19:13:41 +02:00
Harminder Virk
6efdba1967 feat: add hooks to product module's workflows (#8389) 2024-08-01 22:02:07 +05:30
Shahed Nasser
5ed5b45cce chore(utils, types): updated TSDocs of AbstractPaymentProvider (#8335)
- Update the TSDocs of `AbstractPaymentProvider`
- Remove old TSDocs of `IPaymentProvider`
- Update the config that generates the payment module provider reference.

Closes DOCS-781
2024-08-01 15:50:34 +00:00
Shahed Nasser
4a95a48e94 docs-util: mark type parameters as optional (#8320)
Mark all type parameters in references as optional.

Closes DOCS-802
2024-08-01 15:45:41 +00:00
Shahed Nasser
560b6c74a4 docs: add a documentation on calculating prices with taxes (#8330)
Add a documentation page on how to calculate a product's prices with taxes in the Product Module's docs.

Closes DOCS-832
2024-08-01 15:32:54 +00:00
Stevche Radevski
d36d48df76 feat: Show notice on new notifications (#8390) 2024-08-01 17:10:34 +02:00
Oli Juhl
dbd0b18726 feat: Add requested_at + open status to return (#8391)
* feat: Add requested_at + open status to return

* Update return in confirm claim workflow

* Revert snapshot

* feat: Change OrderChangeType

* fix test
2024-08-01 16:20:45 +02:00
Adrien de Peretti
f81652bf6e chore(framework): Move and improve routes loader (#8392)
* chore(framework): Move and improve routes loader

* cleanup

* fix(framework): import
2024-08-01 16:18:42 +02:00
Stevche Radevski
4081b3359d feat: Add support for sorting export headers (#8386)
* feat: Add support for sorting export headers

* fix: Minor fixes to import flow
2024-08-01 13:23:49 +02:00
Carlos R. L. Rodrigues
accf884bb1 chore(core-flows): Order Exchange - initial workflows (#8374)
PR: 1:n

This is the first PR with a initial skeleton for Order exchange workflows.
This is not yet to be considered functional or reflecting the exact behavior of Order Exchanges.

What:
* organize folder structure of order-related steps and workflows 
* initial worklows for Order exchange - This first draft is just a copy of Claims behavior
2024-08-01 10:27:06 +00:00
Stevche Radevski
7569fd1605 fix: Updating product prices removed existing prices (#8388)
RESOLVES #8376
CLOSES CC-288
2024-08-01 08:46:11 +00:00
github-actions[bot]
31ec4d0d71 chore(docs): Updated API Reference (v2) (#8384)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-01 07:43:40 +00:00
Stevche Radevski
123dad7db8 feat: Add support for categories in product import and export (#8375)
* feat: Add support for product categories on export and import

* fix: Make the rest of the import workflow async as well
2024-08-01 09:07:30 +02:00
github-actions[bot]
66cc7cfc1f chore(docs): Generated References (#8383)
Generated the following references:
- `helper_steps`
- `modules`
- `types`
- `workflows`
2024-08-01 07:04:13 +00:00
github-actions[bot]
da3da51000 chore(docs): Generated DML JSON files (#8382)
This PR holds all generated DML JSON files for the upcoming release.
2024-08-01 07:04:02 +00:00
Shahed Nasser
6fc2019534 chore(workflows-sdk): add TSDocs related to create-hook (#8380) 2024-08-01 09:57:14 +03:00
Riqwan Thamir
3169543d56 feat(dashboard,js-sdk,types): add ability to capture payment from order page (#8368)
what:

- adds ability to capture payment from order page

bugs found:

- when capturing payment of one order, other orders statuses get affected from "captured" to "partially captured". Will investigate this separately. 

https://github.com/user-attachments/assets/0a1beac2-74fc-4803-8528-8de5913964d4
2024-08-01 06:46:03 +00:00
Adrien de Peretti
4a7b2fd625 fix(framework): telemetry package version (#8378) 2024-07-31 14:46:38 +00:00
Adrien de Peretti
56602d215b chore(framework): Move and improve workflows loader (#8363)
**What**
Refactoring Workflows loader and move

FIXES FRMW-2627
2024-07-31 14:46:04 +00:00
Shahed Nasser
22a629670b docs: add sidebar item for helper reference + examples fix (#8365) 2024-07-31 17:28:42 +03:00
Shahed Nasser
6f973d9f2b docs: added workflow hooks docs + changed workflow response (#8364)
* docs: added workflow hooks docs + changed workflow response

* Update page.mdx
2024-07-31 17:01:33 +03:00
Adrien de Peretti
27837b8833 fix(framework): prepublish script (#8377) 2024-07-31 14:00:54 +00:00
Frane Polić
7b86fc2176 feat(dashboard, types, js-sdk): Claims client, hooks and types (#8370) 2024-07-31 13:37:43 +00:00
Stevche Radevski
31449972ed fix: Use region name in product pricing exports (#8373)
* fix:Bug fixes to product import

* fix:Add an export failed notification if an export fails

* fix: Use region name in product export prices
2024-07-31 15:34:27 +02:00
Adrien de Peretti
12c6a1a022 chore(framework): Move and improve links loader (#8367)
**What**
Refactor and move links loader

FIXES FRMW-2637
2024-07-31 12:33:12 +00:00
Stevche Radevski
8a6e172dec feat:Make product import v1 compatible (#8362) 2024-07-31 13:03:05 +02:00
Harminder Virk
864bb0df05 breaking: implement workflow hooks (first iteration) (#8346) 2024-07-31 15:36:38 +05:30
Adrien de Peretti
6ccf83128c Chore/framework 6/n (#8356)
**What**
Refactor and improve job loader as well as move it to the framework

FIXES FRMW-2626
2024-07-31 09:17:17 +00:00