chore(utils): fixes to events TSDocs (#12395)
* chore(utils): fixes to events TSDocs * more fixes
This commit is contained in:
@@ -218,6 +218,8 @@ export interface CreateCartAddressDTO {
|
|||||||
export interface CreateCartWorkflowInputDTO {
|
export interface CreateCartWorkflowInputDTO {
|
||||||
/**
|
/**
|
||||||
* The ID of the region that the cart belongs to.
|
* The ID of the region that the cart belongs to.
|
||||||
|
* If not provided, the default region of the store is used.
|
||||||
|
* If the store doesn't have a default region, an error is thrown.
|
||||||
*/
|
*/
|
||||||
region_id?: string
|
region_id?: string
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
export interface StoreCreateCart {
|
export interface StoreCreateCart {
|
||||||
/**
|
/**
|
||||||
* The ID of the region that the cart is created in.
|
* The ID of the region that the cart is created in.
|
||||||
|
* If not provided, the default region of the store is used.
|
||||||
|
* If the store doesn't have a default region, an error is thrown.
|
||||||
*/
|
*/
|
||||||
region_id?: string
|
region_id?: string
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ export const OrderWorkflowEvents = {
|
|||||||
* {
|
* {
|
||||||
* order_id, // The ID of the order
|
* order_id, // The ID of the order
|
||||||
* fulfillment_id, // The ID of the fulfillment
|
* fulfillment_id, // The ID of the fulfillment
|
||||||
* no_notification, // Whether to notify the customer
|
* no_notification, // (boolean) Whether to notify the customer
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@@ -175,7 +175,7 @@ export const OrderWorkflowEvents = {
|
|||||||
* {
|
* {
|
||||||
* order_id, // The ID of the order
|
* order_id, // The ID of the order
|
||||||
* fulfillment_id, // The ID of the fulfillment
|
* fulfillment_id, // The ID of the fulfillment
|
||||||
* no_notification, // Whether to notify the customer
|
* no_notification, // (boolean) Whether to notify the customer
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@@ -258,7 +258,7 @@ export const OrderEditWorkflowEvents = {
|
|||||||
* ```ts
|
* ```ts
|
||||||
* {
|
* {
|
||||||
* order_id, // The ID of the order
|
* order_id, // The ID of the order
|
||||||
* actions, // The actions to edit the order
|
* actions, // (array) The [actions](https://docs.medusajs.com/resources/references/fulfillment/interfaces/fulfillment.OrderChangeActionDTO) to edit the order
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@@ -270,8 +270,7 @@ export const OrderEditWorkflowEvents = {
|
|||||||
* ```ts
|
* ```ts
|
||||||
* {
|
* {
|
||||||
* order_id, // The ID of the order
|
* order_id, // The ID of the order
|
||||||
* actions, // The actions to edit the order
|
* actions, // (array) The [actions](https://docs.medusajs.com/resources/references/fulfillment/interfaces/fulfillment.OrderChangeActionDTO) to edit the order
|
||||||
* }
|
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
CONFIRMED: "order-edit.confirmed",
|
CONFIRMED: "order-edit.confirmed",
|
||||||
@@ -282,7 +281,7 @@ export const OrderEditWorkflowEvents = {
|
|||||||
* ```ts
|
* ```ts
|
||||||
* {
|
* {
|
||||||
* order_id, // The ID of the order
|
* order_id, // The ID of the order
|
||||||
* actions, // The actions to edit the order
|
* actions, // (array) The [actions](https://docs.medusajs.com/resources/references/fulfillment/interfaces/fulfillment.OrderChangeActionDTO) to edit the order
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
@@ -776,7 +775,7 @@ export const FulfillmentWorkflowEvents = {
|
|||||||
* ```ts
|
* ```ts
|
||||||
* {
|
* {
|
||||||
* id, // the ID of the shipment
|
* id, // the ID of the shipment
|
||||||
* no_notification, // whether to notify the customer
|
* no_notification, // (boolean) whether to notify the customer
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user