Commit Graph

261 Commits

Author SHA1 Message Date
github-actions[bot]
3c6aa979a6 chore(docs): Updated API Reference (automated) (#12581)
* chore(docs): Generated API Reference (automated)

* fixes

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-05-22 15:46:13 +03:00
github-actions[bot]
6725bee130 chore(docs): Generated References (automated) (#12580)
Generated the following references:
- `_index.mdx`
- `api_key_models`
- `auth_models`
- `cart_models`
- `core_flows`
- `currency_models`
- `customer_models`
- `file_service`
- `fulfillment_models`
- `inventory_next_models`
- `js_sdk`
- `medusa`
- `modules`
- `modules_sdk`
- `order_models`
- `payment_models`
- `pricing_models`
- `product_models`
- `promotion_models`
- `region_models`
- `sales_channel_models`
- `stock_location_next_models`
- `store_models`
- `tax_models`
- `types`
- `user_models`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-05-22 12:35:49 +00:00
Shahed Nasser
04e0b43ed8 docs: document analytics module (#12563) 2025-05-22 15:05:04 +03:00
github-actions[bot]
aaf5407d29 chore(docs): Generated References (automated) (#12511)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-05-16 15:29:29 +03:00
Shahed Nasser
22cdcedddc docs: improve payment related guides (#12502)
* improve guide

* update guides

* small change
2025-05-15 18:40:21 +03:00
Shahed Nasser
b312a7e077 docs: add missing methods in guides and references (#12495)
* initial

* remove unused references
2025-05-15 14:22:23 +03:00
github-actions[bot]
e81d2333bc chore(docs): Generated References (automated) (#12492)
Generated the following references:
- `api_key_models`
- `auth_models`
- `cart_models`
- `core_flows`
- `currency_models`
- `customer_models`
- `fulfillment_models`
- `inventory_next_models`
- `js_sdk`
- `modules`
- `order_models`
- `payment_models`
- `pricing_models`
- `product_models`
- `promotion_models`
- `region_models`
- `sales_channel_models`
- `stock_location_next_models`
- `store_models`
- `tax_models`
- `types`
- `user_models`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-05-15 08:36:24 +00:00
Shahed Nasser
30aa317ff1 docs-util: fix incorrect relations in data model references + other fixes (#12487)
* fix price model incorrect relations

* fix events that don't have workflows showing

* fix notification example
2025-05-15 10:47:45 +03:00
github-actions[bot]
c6c660c4d3 chore(docs): Updated API Reference (automated) (#12461)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 13:43:58 +00:00
github-actions[bot]
5c36bafc1d chore(docs): Generated References (automated) (#12460)
Generated the following references:
- `_index.mdx`
- `api_key`
- `api_key_models`
- `auth`
- `auth_models`
- `auth_provider`
- `cart`
- `cart_models`
- `core_flows`
- `currency`
- `currency_models`
- `customer`
- `customer_models`
- `events`
- `file`
- `file_service`
- `fulfillment`
- `fulfillment_models`
- `fulfillment_provider`
- `inventory_next`
- `inventory_next_models`
- `js_sdk`
- `locking`
- `medusa`
- `module_events`
- `modules`
- `modules_sdk`
- `notification`
- `notification_service`
- `order`
- `order_models`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `pricing_models`
- `product`
- `product_models`
- `promotion`
- `promotion_models`
- `region`
- `region_models`
- `sales_channel`
- `sales_channel_models`
- `stock_location_next`
- `stock_location_next_models`
- `store`
- `store_models`
- `tax`
- `tax_models`
- `tax_provider`
- `types`
- `user`
- `user_models`
- `utils`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 13:31:57 +00:00
github-actions[bot]
da270cd3e2 chore(docs): Generated DML JSON files (automated) (#12458)
This PR holds all generated DML JSON files for the upcoming release.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-05-13 11:31:15 +00:00
Shahed Nasser
e09b2a4db5 docs: support version in events reference (#12422)
* docs: support version in events reference

* remove changes in events output

* remove events emitted in comments

* remove customer updated event

* check for emitEventStep usage

* fixes
2025-05-09 14:34:15 +03:00
Shahed Nasser
41f46b7723 docs: generate references after adding copy subscriber button (#12407)
* docs: generate references after adding copy subscriber button

* re-generate
2025-05-08 13:56:22 +03:00
Shahed Nasser
a3bdb3e383 docs: generate OAS with events (#12394)
* docs: generate OAS with events

* small change
2025-05-07 14:57:03 +03:00
Shahed Nasser
97dd520c64 docs: generate event references (#12378) 2025-05-06 16:59:30 +03:00
Shahed Nasser
ecf3556589 docs-util: add events to workflows reference (#12376) 2025-05-06 16:04:12 +03:00
Shahed Nasser
70a99a2434 docs: generate events reference (#12341)
* docs: generate events reference

* change link in navbar

* fix redirect
2025-05-01 19:39:53 +03:00
Shahed Nasser
91f5ac91a9 docs-util: add script to generate events info (#12340)
* docs-util: add script to generate events info

* add property and parent name to json
2025-05-01 14:44:24 +03:00
Shahed Nasser
97daa5a41c docs: clarify ISO format for province codes (#12282)
* docs: clarify ISO format for province codes

* regenerate
2025-04-24 15:44:35 +03:00
Shahed Nasser
4946b67152 docs: regenerate core-flows reference + OAS for draft order updates (#12280)
* docs: regenerate core-flows reference for updates in draft orders

* generate OAS
2025-04-24 12:01:46 +03:00
Shahed Nasser
7d498227d1 docs: fix core flows reference not generating (#12274) 2025-04-23 19:46:54 +03:00
Shahed Nasser
d9fcf8a621 docs: fix reference of draft orders JS SDK methods (#12271)
* docs: fix reference of draft orders JS SDK methods

* generate
2025-04-23 12:47:46 +03:00
github-actions[bot]
c7065fcd2b chore(docs): Updated API Reference (automated) (#12268)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-04-23 08:50:17 +00:00
github-actions[bot]
acff7887a2 chore(docs): Generated References (automated) (#12267)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-04-23 11:02:29 +03:00
Shahed Nasser
a3aa5d7a66 dos: add docs on overriding allowed fields in routes (#12233) 2025-04-18 11:38:36 +03:00
Carlos R. L. Rodrigues
e180253d60 feat(orchestration): skip on permanent failure (#12027)
What:
 - Added step config `skipOnPermanentFailure`. Skip all the next steps when the current step fails. If a string is used, the workflow will resume from the given step.
 - Fix `continueOnPermanentFailure` to continue the execution of the flow when a step fails.
 
```ts
createWorkflow("some-workflow", () => {
  errorStep().config({
    skipOnPermanentFailure: true,
  })
  nextStep1() // skipped
  nextStep2() // skipped
})


createWorkflow("some-workflow", () => {
  errorStep().config({
    skipOnPermanentFailure: "resume-from-here",
  });
  nextStep1(); // skipped
  nextStep2(); // skipped
  nextStep3().config({ name: "resume-from-here" }); // executed
  nextStep4(); // executed
});
```
2025-04-17 12:49:58 +00:00
Shahed Nasser
eb73bdb478 docs: rename Architectural Modules to Infrastructure Modules (#12212)
* docs: rename Architectural Modules to Infrastructure Modules

* generate again
2025-04-17 13:20:43 +03:00
Shahed Nasser
734f4fecbc docs: generate JS SDK reference with fixes (#12161) 2025-04-11 16:42:09 +03:00
Shahed Nasser
cd66cdd2bb docs: generate OAS manually for 2.7.0 (#12158)
* original changes

* changes

* fixes for delete operations

* generate oas
2025-04-11 16:41:39 +03:00
github-actions[bot]
94e98190ff chore(docs): Generated References (automated) (#12154)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `cart_models`
- `core_flows`
- `currency`
- `customer`
- `event`
- `file_service`
- `fulfillment`
- `fulfillment_provider`
- `inventory_next`
- `js_sdk`
- `locking`
- `medusa`
- `modules`
- `modules_sdk`
- `notification_service`
- `order`
- `payment`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `utils`
- `workflows`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-04-11 11:15:08 +00:00
Shahed Nasser
4283fa37b7 docs: fix schema of product category (#12145) 2025-04-11 12:48:53 +03:00
github-actions[bot]
46952e9fa5 chore(docs): Generated DML JSON files (automated) (#12153)
This PR holds all generated DML JSON files for the upcoming release.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-04-11 09:21:20 +00:00
Shahed Nasser
83e063229b docs-utils: support routes that include global variables (#11976)
* docs-util: support urls that have variable names

* re-generate examples

* disable removing js sdk examples and replace with warning
2025-03-25 15:36:00 +02:00
Shahed Nasser
8a302130b3 docs-util: add JS SDK examples to generated OAS (#11935) 2025-03-25 11:11:48 +02:00
Shahed Nasser
df5ae50612 docs-util: add tool to generate mapping between JS SDK examples and routes (#11933)
* initial implementation

* finish implementation

* add js sdk key
2025-03-21 15:34:52 +02:00
Shahed Nasser
ac24749bd3 docs: generated references after collapse types improvement (#11889) 2025-03-18 16:48:43 +02:00
Shahed Nasser
cb68a9e67b docs: added how-to guides for architectural modules (#11883)
* added initial how-tos

* finished changes

* generated sidebars
2025-03-18 09:49:19 +02:00
Shahed Nasser
28b0d08591 docs: add documentation for Locking Module (#11824)
* add locking docs

* fix main navbar

* added implementation example links

* generate refs

* update architecture

* fix vale error
2025-03-13 12:20:24 +02:00
github-actions[bot]
7cf66bdbd2 chore(docs): Generated References (automated) (#11795) 2025-03-10 18:22:05 +02:00
Shahed Nasser
08ce70a368 docs-util: add exceptions for routes with custom auth middleware (#11755) 2025-03-06 13:05:50 +02:00
Shahed Nasser
9194385999 docs: fix tag for JS SDK draft order + other fixes (#11747) 2025-03-06 09:11:47 +02:00
github-actions[bot]
af613bbc4e chore(docs): Generated References (automated) (#11718)
Generated the following references:
- `cart`
- `cart_models`
- `core_flows`
- `fulfillment`
- `js_sdk`
- `medusa`
- `modules`
- `order`
- `payment`
- `payment_provider`
- `types`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-03-04 14:14:00 +00:00
github-actions[bot]
6294a71296 chore(docs): Updated API Reference (automated) (#11719)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-03-04 14:10:22 +00:00
github-actions[bot]
8a36bd4034 chore(docs): Generated DML JSON files (automated) (#11717)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2025-03-04 15:51:20 +02:00
Shahed Nasser
c2e24b6cfd docs: update OAS of reset password routes (#11711) 2025-03-04 13:28:41 +02:00
Shahed Nasser
40a9cffb34 docs: add more clarification to reset password in API reference (#11695) 2025-03-03 18:09:03 +02:00
Shahed Nasser
82bcdc6271 docs: fix examples in workflows reference (#11688) 2025-03-03 12:20:40 +02:00
Shahed Nasser
0eadcdd555 docs: updates to tax provider and other provider guides (#11626) 2025-02-26 16:13:05 +02:00
Shahed Nasser
731f118987 docs: fix types for provider docs not generated correctly (#11598) 2025-02-25 14:31:26 +02:00
Shahed Nasser
be566ca6fb docs: fix OAS generator + generate OAS (#11584) 2025-02-24 15:30:38 +02:00