Shahed Nasser
61d3bdde4a
docs-util: extract feature flags in generated OAS ( #12554 )
2025-05-21 14:25:40 +03:00
Shahed Nasser
bda143673d
docs: show hooks in when condition in workflows reference ( #12552 )
2025-05-21 13:00:15 +03:00
Shahed Nasser
397d353af6
docs: fix timeout in order-related workflows reference ( #12533 )
2025-05-19 17:30:21 +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
Shahed Nasser
e60d15ea84
docs: fix client side error in references ( #12475 )
2025-05-14 10:18:37 +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
60b1fe0676
docs-util: fix dependencies passed to auth providers ( #12445 )
2025-05-12 11:00:55 +03:00
Shahed Nasser
30e620a43c
docs: support deprecated in API reference ( #12438 )
2025-05-12 09:10:35 +03:00
Shahed Nasser
9c5f2d0467
docs-util: add note for providers ( #12432 )
2025-05-09 17:29:52 +03: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
0af6e1f212
docs: add support for keywords in references ( #12413 )
2025-05-08 16:40:17 +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
f81eb51b67
docs: add copy subscriber button ( #12405 )
...
* docs: add copy subscriber button
* re-generate
* fixes + update copy button
2025-05-08 12:48:44 +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
262064fe96
docs: show events emitted in an API route in the API reference ( #12392 )
...
* docs: show events emitted in an API route in the API reference
* fix build error
* support version tag
* add missing property
2025-05-07 14:56:54 +03:00
Shahed Nasser
5d3f1d0118
docs-util: add events to generated OAS ( #12390 )
2025-05-07 10:44:02 +03:00
Shahed Nasser
91173f3052
docs-util: fix hook parameters not showing when using workflow input ( #12382 )
2025-05-06 18:34:19 +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
2bfe936185
docs-util: support deprecated tag in OAS ( #12339 )
2025-05-01 11:59:48 +03:00
Shahed Nasser
7cb85ea123
docs-util: fix hook examples not showing in generated references ( #12334 )
2025-04-30 18:46:39 +03:00
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