68 lines
3.0 KiB
Plaintext
68 lines
3.0 KiB
Plaintext
import { TypeList } from "docs-ui"
|
|
|
|
# utils
|
|
|
|
## Namespaces
|
|
|
|
- [FulfillmentUtils](../../utils/utils.FulfillmentUtils/page.mdx)
|
|
- [InventoryUtils](../../utils/utils.InventoryUtils/page.mdx)
|
|
- [LinkUtils](../../utils/utils.LinkUtils/page.mdx)
|
|
- [OrderUtils](../../utils/utils.OrderUtils/page.mdx)
|
|
- [ProductUtils](../../utils/utils.ProductUtils/page.mdx)
|
|
- [PromotionUtils](../../utils/utils.PromotionUtils/page.mdx)
|
|
- [ShippingProfileUtils](../../utils/utils.ShippingProfileUtils/page.mdx)
|
|
- [UserUtils](../../utils/utils.UserUtils/page.mdx)
|
|
|
|
## Enumerations
|
|
|
|
- [PaymentCollectionStatus](../../utils/enums/utils.PaymentCollectionStatus/page.mdx)
|
|
- [PaymentSessionStatus](../../utils/enums/utils.PaymentSessionStatus/page.mdx)
|
|
- [PaymentWebhookEvents](../../utils/enums/utils.PaymentWebhookEvents/page.mdx)
|
|
- [PaymentActions](../../utils/enums/utils.PaymentActions/page.mdx)
|
|
- [PriceListStatus](../../utils/enums/utils.PriceListStatus/page.mdx)
|
|
- [PriceListType](../../utils/enums/utils.PriceListType/page.mdx)
|
|
|
|
## Variables
|
|
|
|
- [MedusaModuleType](page.mdx#medusamoduletype)
|
|
- [PaymentEvents](page.mdx#paymentevents)
|
|
- [PricingEvents](page.mdx#pricingevents)
|
|
|
|
## Functions
|
|
|
|
- [generateJwtToken](page.mdx#generatejwttoken)
|
|
|
|
___
|
|
|
|
## Variables
|
|
|
|
### MedusaModuleType
|
|
|
|
`Const` **MedusaModuleType**: typeof [MedusaModuleType](page.mdx#medusamoduletype)
|
|
|
|
### PaymentEvents
|
|
|
|
`Const` **PaymentEvents**: `Object`
|
|
|
|
#### Properties
|
|
|
|
<TypeList types={[{"name":"CAPTURED","type":"`string`","description":"","optional":false,"defaultValue":"\"payment.captured\"","expandable":false,"children":[]},{"name":"REFUNDED","type":"`string`","description":"","optional":false,"defaultValue":"\"payment.refunded\"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="PaymentEvents"/>
|
|
|
|
### PricingEvents
|
|
|
|
`Const` **PricingEvents**: ReturnType<["priceListRule", "priceList", "priceRule", "priceSet", "price"]>
|
|
|
|
___
|
|
|
|
## Functions
|
|
|
|
### generateJwtToken
|
|
|
|
#### Parameters
|
|
|
|
<TypeList types={[{"name":"tokenPayload","type":"`Record<string, unknown>`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"jwtConfig","type":"`object`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[{"name":"secret","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"expiresIn","type":"`string`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="generateJwtToken"/>
|
|
|
|
#### Returns
|
|
|
|
<TypeList types={[{"name":"string","type":"`string`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/v2/advanced-development/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="generateJwtToken"/>
|