Commit Graph

355 Commits

Author SHA1 Message Date
Shahed Nasser
43d282da8b docs: general improvements and additions (#12296) 2025-04-25 19:00:45 +03:00
Shahed Nasser
69df003968 docs-util: enable internal resolve for workflows sdk reference (#12292) 2025-04-25 10:11:32 +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
Shahed Nasser
8b5b96a83d docs-util: fix examples in workflow reference that have multiple code (#12223) 2025-04-17 18:47:09 +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
fde85888bd docs-util: handle workflows with intersection hook types (#12099) 2025-04-07 14:00:08 +03:00
Shahed Nasser
82d774b395 docs-util: add a prefix for JS SDK examples in OAS (#11989) 2025-03-26 13:28:23 +02:00
Shahed Nasser
178e034561 docs-util: sort examples to show JS SDK first (#11986) 2025-03-25 19:25:34 +02: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
eb2aa8da3c docs-util: collapse types in references (#11888)
* docs-util: collapse types in references

* improve for arrays
2025-03-18 16:49:34 +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
Shahed Nasser
8d23c97af9 Merge branch 'develop' into docs/change-arch 2025-03-11 11:57:45 +02:00
Shahed Nasser
ac989a6ed1 moved configurations page 2025-03-11 10:59:29 +02:00
github-actions[bot]
7cf66bdbd2 chore(docs): Generated References (automated) (#11795) 2025-03-10 18:22:05 +02:00
Shahed Nasser
87b041800a fixes + added new sidebars 2025-03-10 08:33:21 +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
Shahed Nasser
e81deb49f8 docs-util: fix freshness check script (#11737)
* docs-util: fix freshness check script

* Update freshness-check.ts
2025-03-05 13:35:28 +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
github-actions[bot]
41f070be9a chore(docs): Generated References (automated) (#11579)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-24 13:47:40 +02:00
Shahed Nasser
1077993aaa chore: improvements to provider docs (#11451) 2025-02-13 18:11:39 +02:00
Shahed Nasser
49bf934da3 docs-util: fix inline code escape in generated references (#11428) 2025-02-12 19:08:37 +02:00
github-actions[bot]
7897bead63 chore(docs): Updated API Reference (automated) (#11396)
* chore(docs): Generated API Reference (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-11 14:46:38 +02:00
github-actions[bot]
dc94e62a6a chore(docs): Generated References (automated) (#11395)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `fulfillment`
- `inventory_next`
- `js_sdk`
- `medusa`
- `medusa_config`
- `modules`
- `modules_sdk`
- `notification`
- `order`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-02-11 12:02:30 +00:00
github-actions[bot]
f22c5fa6af chore(docs): Generated DML JSON files (automated) (#11394)
* chore(docs): Generated DML JSON files (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2025-02-11 13:40:36 +02:00
Shahed Nasser
5c44811cb0 docs: document module providers in plugins (#11360)
* docs: document module providers in plugins

* small fixes

* add missing title
2025-02-07 14:17:14 +02:00