From 3a0874e90426bf52b48b237b620173771456feb3 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 10:54:07 +0300 Subject: [PATCH 01/10] docs(v1.x): update configuration to add /v1 path prefix --- www/apps/api-reference/app/_mdx/admin.mdx | 6 +-- .../app/_mdx/client-libraries.mdx | 2 +- www/apps/api-reference/app/_mdx/store.mdx | 12 ++--- .../app/{api/[area] => admin}/page.tsx | 35 ++++--------- .../app/{api => }/algolia/route.ts | 0 .../app/{api => }/base-specs/route.ts | 0 .../app/{api => }/download/[area]/route.ts | 0 .../app/{api/[area] => }/layout.tsx | 4 +- .../app/{api/[area] => }/opengraph-image.jpg | Bin www/apps/api-reference/app/store/page.tsx | 48 ++++++++++++++++++ .../api-reference/app/{api => }/tag/route.ts | 0 .../app/{api/[area] => }/twitter-image.jpg | Bin .../components/DownloadFull/index.tsx | 2 +- .../api-reference/components/Navbar/index.tsx | 5 +- www/apps/api-reference/next.config.mjs | 19 +++---- .../api-reference/utils/get-base-path-url.ts | 3 ++ www/apps/api-reference/utils/get-url.ts | 2 +- www/apps/api-reference/vercel.json | 2 +- www/apps/docs/.env.sample | 3 +- www/apps/docs/README.md | 2 +- .../add-middleware-express-route.mdx | 4 +- .../development/api-routes/add-middleware.mdx | 4 +- .../api-routes/create-express-route.mdx | 4 +- .../content/development/api-routes/create.mdx | 4 +- .../api-routes/extend-validator.md | 2 +- .../development/api-routes/overview.mdx | 4 +- .../content/development/batch-jobs/create.mdx | 8 +-- .../batch-jobs/customize-import.md | 4 +- .../content/development/batch-jobs/index.mdx | 8 +-- .../content/development/entities/overview.mdx | 2 +- .../admin/manage-publishable-api-keys.mdx | 22 ++++---- .../content/development/search/overview.mdx | 2 +- www/apps/docs/content/homepage.mdx | 4 +- www/apps/docs/content/js-client/overview.mdx | 2 +- .../docs/content/medusa-react/overview.mdx | 2 +- .../backend/cart-completion-strategy.md | 2 +- .../modules/carts-and-checkout/cart.md | 4 +- .../modules/carts-and-checkout/overview.mdx | 4 +- .../modules/carts-and-checkout/payment.md | 2 +- .../storefront/implement-cart.mdx | 6 +-- .../storefront/implement-checkout-flow.mdx | 18 +++---- .../admin/manage-customer-groups.mdx | 4 +- .../customers/admin/manage-customers.mdx | 16 +++--- .../content/modules/customers/overview.mdx | 2 +- .../implement-customer-profiles.mdx | 36 ++++++------- .../discounts/admin/manage-discounts.mdx | 26 +++++----- .../content/modules/discounts/overview.mdx | 2 +- .../storefront/use-discounts-in-checkout.mdx | 6 +-- .../gift-cards/admin/manage-gift-cards.mdx | 32 ++++++------ .../gift-cards/storefront/use-gift-cards.mdx | 12 ++--- .../admin/manage-inventory-items.mdx | 32 ++++++------ .../manage-item-allocations-in-orders.mdx | 20 ++++---- .../admin/manage-reservations.mdx | 16 +++--- .../admin/manage-stock-locations.mdx | 26 +++++----- .../modules/orders/admin/edit-order.mdx | 24 ++++----- .../modules/orders/admin/manage-claims.mdx | 22 ++++---- .../orders/admin/manage-draft-orders.mdx | 32 ++++++------ .../modules/orders/admin/manage-orders.mdx | 36 ++++++------- .../modules/orders/admin/manage-returns.mdx | 22 ++++---- .../modules/orders/admin/manage-swaps.mdx | 20 ++++---- .../docs/content/modules/orders/claims.md | 12 ++--- .../content/modules/orders/draft-orders.md | 2 +- .../docs/content/modules/orders/orders.md | 6 +-- .../docs/content/modules/orders/overview.mdx | 4 +- .../docs/content/modules/orders/returns.md | 4 +- .../orders/storefront/create-return.mdx | 6 +-- .../modules/orders/storefront/create-swap.mdx | 4 +- .../orders/storefront/handle-order-edits.mdx | 14 ++--- .../storefront/implement-claim-order.mdx | 2 +- .../storefront/retrieve-order-details.mdx | 10 ++-- www/apps/docs/content/modules/orders/swaps.md | 10 ++-- .../price-lists/admin/_import-prices.mdx | 12 ++--- .../price-lists/admin/manage-price-lists.mdx | 18 +++---- .../modules/price-lists/price-lists.md | 2 +- .../products/admin/import-products.mdx | 8 +-- .../products/admin/manage-categories.mdx | 24 ++++----- .../products/admin/manage-products.mdx | 38 +++++++------- .../products/storefront/show-products.mdx | 16 +++--- .../products/storefront/use-categories.mdx | 10 ++-- .../admin/manage-currencies.mdx | 14 ++--- .../admin/manage-regions.mdx | 30 +++++------ .../regions-and-currencies/overview.mdx | 2 +- .../storefront/use-regions.mdx | 8 +-- .../modules/sales-channels/admin/manage.mdx | 6 +-- .../modules/taxes/admin/manage-tax-rates.mdx | 30 +++++------ .../taxes/admin/manage-tax-settings.mdx | 10 ++-- .../modules/taxes/inclusive-pricing.md | 12 ++--- .../taxes/storefront/manual-calculation.md | 2 +- .../modules/users/admin/manage-invites.mdx | 12 ++--- .../modules/users/admin/manage-profile.mdx | 16 +++--- .../modules/users/admin/manage-users.mdx | 14 ++--- .../content/modules/users/backend/rbac.mdx | 8 +-- www/apps/docs/content/modules/users/users.md | 6 +-- .../docs/content/plugins/analytics/segment.md | 2 +- www/apps/docs/content/plugins/cms/strapi.md | 2 +- .../docs/content/plugins/erp/brightpearl.md | 2 +- .../docs/content/plugins/file-service/s3.mdx | 2 +- .../content/plugins/file-service/spaces.md | 2 +- .../content/plugins/fulfillment/manual.md | 2 +- .../content/plugins/fulfillment/webshipper.md | 2 +- .../plugins/other/restock-notifications.md | 2 +- .../docs/content/plugins/payment/klarna.md | 4 +- .../docs/content/plugins/payment/paypal.md | 6 +-- .../docs/content/plugins/payment/stripe.mdx | 6 +-- .../docs/content/recipes/digital-products.mdx | 6 +-- www/apps/docs/content/recipes/omnichannel.mdx | 2 +- www/apps/docs/content/recipes/oms.mdx | 6 +-- .../content/recipes/personalized-products.mdx | 6 +-- www/apps/docs/content/recipes/pos.mdx | 4 +- .../file/classes/file.AbstractFileService.mdx | 2 +- ...fulfillment.AbstractFulfillmentService.mdx | 16 +++--- .../fulfillment.FulfillmentService.mdx | 14 ++--- .../classes/js_client.AddressesResource.mdx | 2 +- .../js_client/classes/js_client.Admin.mdx | 4 +- .../classes/js_client.AdminAuthResource.mdx | 2 +- .../js_client.AdminBatchJobsResource.mdx | 2 +- .../js_client.AdminCollectionsResource.mdx | 2 +- .../js_client.AdminCurrenciesResource.mdx | 2 +- .../js_client.AdminCustomerGroupsResource.mdx | 2 +- .../js_client.AdminCustomersResource.mdx | 2 +- .../js_client.AdminDiscountsResource.mdx | 2 +- .../js_client.AdminDraftOrdersResource.mdx | 2 +- .../js_client.AdminGiftCardsResource.mdx | 2 +- .../js_client.AdminInventoryItemsResource.mdx | 2 +- .../js_client.AdminInvitesResource.mdx | 2 +- .../classes/js_client.AdminNotesResource.mdx | 2 +- .../js_client.AdminNotificationsResource.mdx | 2 +- .../js_client.AdminOrderEditsResource.mdx | 2 +- .../classes/js_client.AdminOrdersResource.mdx | 2 +- ...client.AdminPaymentCollectionsResource.mdx | 2 +- .../js_client.AdminPaymentsResource.mdx | 2 +- .../js_client.AdminPriceListResource.mdx | 2 +- ..._client.AdminProductCategoriesResource.mdx | 2 +- .../js_client.AdminProductTagsResource.mdx | 2 +- .../js_client.AdminProductTypesResource.mdx | 2 +- .../js_client.AdminProductsResource.mdx | 2 +- ..._client.AdminPublishableApiKeyResource.mdx | 2 +- .../js_client.AdminRegionsResource.mdx | 2 +- .../js_client.AdminReservationsResource.mdx | 2 +- .../js_client.AdminReturnReasonsResource.mdx | 2 +- .../js_client.AdminReturnsResource.mdx | 2 +- .../js_client.AdminSalesChannelsResource.mdx | 2 +- ...js_client.AdminShippingOptionsResource.mdx | 2 +- ...s_client.AdminShippingProfilesResource.mdx | 2 +- .../js_client.AdminStockLocationsResource.mdx | 2 +- .../classes/js_client.AdminStoresResource.mdx | 2 +- .../classes/js_client.AdminSwapsResource.mdx | 2 +- .../js_client.AdminTaxRatesResource.mdx | 2 +- .../js_client.AdminUploadsResource.mdx | 2 +- .../classes/js_client.AdminUsersResource.mdx | 2 +- .../js_client.AdminVariantsResource.mdx | 2 +- .../classes/js_client.AuthResource.mdx | 2 +- .../classes/js_client.CartsResource.mdx | 4 +- .../classes/js_client.CollectionsResource.mdx | 2 +- .../classes/js_client.CustomersResource.mdx | 4 +- .../classes/js_client.GiftCardsResource.mdx | 2 +- .../classes/js_client.LineItemsResource.mdx | 2 +- .../classes/js_client.OrderEditsResource.mdx | 2 +- .../classes/js_client.OrdersResource.mdx | 2 +- .../js_client.PaymentCollectionsResource.mdx | 2 +- .../js_client.PaymentMethodsResource.mdx | 2 +- .../js_client.ProductCategoriesResource.mdx | 2 +- .../classes/js_client.ProductTagsResource.mdx | 2 +- .../js_client.ProductTypesResource.mdx | 2 +- .../js_client.ProductVariantsResource.mdx | 2 +- .../classes/js_client.ProductsResource.mdx | 4 +- .../classes/js_client.RegionsResource.mdx | 2 +- .../js_client.ReturnReasonsResource.mdx | 2 +- .../classes/js_client.ReturnsResource.mdx | 2 +- .../js_client.ShippingOptionsResource.mdx | 2 +- .../classes/js_client.SwapsResource.mdx | 2 +- .../medusa.AbstractFulfillmentService.mdx | 16 +++--- .../medusa.AbstractNotificationService.mdx | 4 +- .../medusa.AbstractPaymentProcessor.mdx | 22 ++++---- .../interfaces/medusa.FulfillmentService.mdx | 14 ++--- .../medusa.INotificationService.mdx | 4 +- .../interfaces/medusa.PaymentProcessor.mdx | 20 ++++---- .../Admin/medusa_react.Hooks.Admin.Auth.mdx | 2 +- .../medusa_react.Hooks.Admin.Batch_Jobs.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Claims.mdx | 2 +- .../medusa_react.Hooks.Admin.Currencies.mdx | 2 +- ...dusa_react.Hooks.Admin.Customer_Groups.mdx | 2 +- .../medusa_react.Hooks.Admin.Customers.mdx | 2 +- .../medusa_react.Hooks.Admin.Discounts.mdx | 2 +- .../medusa_react.Hooks.Admin.Draft_Orders.mdx | 2 +- .../medusa_react.Hooks.Admin.Gift_Cards.mdx | 2 +- ...dusa_react.Hooks.Admin.Inventory_Items.mdx | 2 +- .../medusa_react.Hooks.Admin.Invites.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Notes.mdx | 2 +- ...medusa_react.Hooks.Admin.Notifications.mdx | 2 +- .../medusa_react.Hooks.Admin.Order_Edits.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Orders.mdx | 2 +- ..._react.Hooks.Admin.Payment_Collections.mdx | 2 +- .../medusa_react.Hooks.Admin.Payments.mdx | 2 +- .../medusa_react.Hooks.Admin.Price_Lists.mdx | 2 +- ...a_react.Hooks.Admin.Product_Categories.mdx | 2 +- ..._react.Hooks.Admin.Product_Collections.mdx | 2 +- .../medusa_react.Hooks.Admin.Product_Tags.mdx | 2 +- ...medusa_react.Hooks.Admin.Product_Types.mdx | 2 +- ...usa_react.Hooks.Admin.Product_Variants.mdx | 2 +- .../medusa_react.Hooks.Admin.Products.mdx | 2 +- ...react.Hooks.Admin.Publishable_API_Keys.mdx | 2 +- .../medusa_react.Hooks.Admin.Regions.mdx | 2 +- .../medusa_react.Hooks.Admin.Reservations.mdx | 2 +- ...edusa_react.Hooks.Admin.Return_Reasons.mdx | 2 +- .../medusa_react.Hooks.Admin.Returns.mdx | 2 +- ...edusa_react.Hooks.Admin.Sales_Channels.mdx | 2 +- ...usa_react.Hooks.Admin.Shipping_Options.mdx | 2 +- ...sa_react.Hooks.Admin.Shipping_Profiles.mdx | 2 +- ...dusa_react.Hooks.Admin.Stock_Locations.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Stores.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Swaps.mdx | 2 +- .../medusa_react.Hooks.Admin.Tax_Rates.mdx | 2 +- .../medusa_react.Hooks.Admin.Uploads.mdx | 2 +- .../Admin/medusa_react.Hooks.Admin.Users.mdx | 2 +- .../Store/medusa_react.Hooks.Store.Carts.mdx | 2 +- .../medusa_react.Hooks.Store.Customers.mdx | 2 +- .../medusa_react.Hooks.Store.Gift_Cards.mdx | 2 +- .../medusa_react.Hooks.Store.Line_Items.mdx | 2 +- .../medusa_react.Hooks.Store.Order_Edits.mdx | 2 +- .../Store/medusa_react.Hooks.Store.Orders.mdx | 2 +- ..._react.Hooks.Store.Payment_Collections.mdx | 2 +- ...a_react.Hooks.Store.Product_Categories.mdx | 2 +- ..._react.Hooks.Store.Product_Collections.mdx | 2 +- .../medusa_react.Hooks.Store.Product_Tags.mdx | 2 +- ...medusa_react.Hooks.Store.Product_Types.mdx | 2 +- .../medusa_react.Hooks.Store.Products.mdx | 2 +- .../medusa_react.Hooks.Store.Regions.mdx | 2 +- ...edusa_react.Hooks.Store.Return_Reasons.mdx | 2 +- .../medusa_react.Hooks.Store.Returns.mdx | 2 +- ...usa_react.Hooks.Store.Shipping_Options.mdx | 2 +- .../Store/medusa_react.Hooks.Store.Swaps.mdx | 2 +- .../medusa_react.Providers.Medusa.mdx | 2 +- .../medusa_react.MedusaProviderProps.mdx | 2 +- ...tification.AbstractNotificationService.mdx | 10 ++-- .../notification.INotificationService.mdx | 4 +- .../payment.AbstractPaymentProcessor.mdx | 22 ++++---- .../interfaces/payment.PaymentProcessor.mdx | 20 ++++---- .../classes/search.AbstractSearchService.mdx | 4 +- .../starters/nextjs-medusa-starter.mdx | 2 +- www/apps/docs/content/storefront/roadmap.mdx | 4 +- www/apps/docs/docusaurus.config.js | 15 ++---- .../docs/src/theme/NotFound/Content/index.tsx | 4 +- www/apps/docs/src/utils/learning-paths.tsx | 4 +- .../docs-ui/src/utils/learning-paths.tsx | 4 +- 245 files changed, 769 insertions(+), 747 deletions(-) rename www/apps/api-reference/app/{api/[area] => admin}/page.tsx (60%) rename www/apps/api-reference/app/{api => }/algolia/route.ts (100%) rename www/apps/api-reference/app/{api => }/base-specs/route.ts (100%) rename www/apps/api-reference/app/{api => }/download/[area]/route.ts (100%) rename www/apps/api-reference/app/{api/[area] => }/layout.tsx (91%) rename www/apps/api-reference/app/{api/[area] => }/opengraph-image.jpg (100%) create mode 100644 www/apps/api-reference/app/store/page.tsx rename www/apps/api-reference/app/{api => }/tag/route.ts (100%) rename www/apps/api-reference/app/{api/[area] => }/twitter-image.jpg (100%) create mode 100644 www/apps/api-reference/utils/get-base-path-url.ts diff --git a/www/apps/api-reference/app/_mdx/admin.mdx b/www/apps/api-reference/app/_mdx/admin.mdx index 8df6738d79981..f98c82c771f6d 100644 --- a/www/apps/api-reference/app/_mdx/admin.mdx +++ b/www/apps/api-reference/app/_mdx/admin.mdx @@ -10,11 +10,11 @@ All API Routes are prefixed with `/admin`. So, during development, the API Route There are different ways you can send requests to these API Routes, including: -- Using Medusa's [JavaScript Client](https://docs.medusajs.com/js-client/overview) -- Using the [Medusa React](https://docs.medusajs.com/medusa-react/overview) library +- Using Medusa's [JavaScript Client](https://docs.medusajs.com/v1/js-client/overview) +- Using the [Medusa React](https://docs.medusajs.com/v1/medusa-react/overview) library - Using cURL -Aside from this API reference, check out the [Commerce Modules](https://docs.medusajs.com/modules/overview) section of the documentation for guides on how to use these APIs in different scenarios. +Aside from this API reference, check out the [Commerce Modules](https://docs.medusajs.com/v1/modules/overview) section of the documentation for guides on how to use these APIs in different scenarios. diff --git a/www/apps/api-reference/app/_mdx/store.mdx b/www/apps/api-reference/app/_mdx/store.mdx index b5ef864b71e6d..e93c925eee559 100644 --- a/www/apps/api-reference/app/_mdx/store.mdx +++ b/www/apps/api-reference/app/_mdx/store.mdx @@ -11,11 +11,11 @@ All API Routes are prefixed with `/store`. So, during development, the API Route There are different ways you can send requests to these API Routes, including: -- Using Medusa's [JavaScript Client](https://docs.medusajs.com/js-client/overview) -- Using the [Medusa React](https://docs.medusajs.com/medusa-react/overview) library +- Using Medusa's [JavaScript Client](https://docs.medusajs.com/v1/js-client/overview) +- Using the [Medusa React](https://docs.medusajs.com/v1/medusa-react/overview) library - Using cURL -Aside from this API reference, check out the [Commerce Modules](https://docs.medusajs.com/modules/overview) section of the documentation for guides on how to use these APIs in different scenarios. +Aside from this API reference, check out the [Commerce Modules](https://docs.medusajs.com/v1/modules/overview) section of the documentation for guides on how to use these APIs in different scenarios. { + const area: Area = "admin" -const ReferencePage = async ({ params: { area } }: ReferencePageProps) => { return ( @@ -28,8 +23,7 @@ const ReferencePage = async ({ params: { area } }: ReferencePageProps) => {

Medusa V1 {capitalize(area)} API Reference

- {area.includes("admin") && } - {area.includes("store") && } + } codeContent={} @@ -43,23 +37,12 @@ const ReferencePage = async ({ params: { area } }: ReferencePageProps) => { export default ReferencePage -export function generateMetadata({ params: { area } }: ReferencePageProps) { +export function generateMetadata() { + const area: Area = "admin" + return { title: `Medusa ${capitalize(area)} API Reference`, description: `REST API reference for the Medusa ${area} API. This reference includes code snippets and examples for Medusa JS Client and cURL.`, metadataBase: process.env.NEXT_PUBLIC_BASE_URL, } } - -export const dynamicParams = false - -export async function generateStaticParams() { - return [ - { - area: "admin", - }, - { - area: "store", - }, - ] -} diff --git a/www/apps/api-reference/app/api/algolia/route.ts b/www/apps/api-reference/app/algolia/route.ts similarity index 100% rename from www/apps/api-reference/app/api/algolia/route.ts rename to www/apps/api-reference/app/algolia/route.ts diff --git a/www/apps/api-reference/app/api/base-specs/route.ts b/www/apps/api-reference/app/base-specs/route.ts similarity index 100% rename from www/apps/api-reference/app/api/base-specs/route.ts rename to www/apps/api-reference/app/base-specs/route.ts diff --git a/www/apps/api-reference/app/api/download/[area]/route.ts b/www/apps/api-reference/app/download/[area]/route.ts similarity index 100% rename from www/apps/api-reference/app/api/download/[area]/route.ts rename to www/apps/api-reference/app/download/[area]/route.ts diff --git a/www/apps/api-reference/app/api/[area]/layout.tsx b/www/apps/api-reference/app/layout.tsx similarity index 91% rename from www/apps/api-reference/app/api/[area]/layout.tsx rename to www/apps/api-reference/app/layout.tsx index 63b41b825db98..917523d9c44ca 100644 --- a/www/apps/api-reference/app/api/[area]/layout.tsx +++ b/www/apps/api-reference/app/layout.tsx @@ -1,9 +1,9 @@ -import "../../globals.css" +import "./globals.css" import Navbar from "@/components/Navbar" -import Providers from "../../../providers" import { WideLayout } from "docs-ui" import { Inter, Roboto_Mono } from "next/font/google" import clsx from "clsx" +import Providers from "../providers" export const metadata = { title: "Medusa API Reference", diff --git a/www/apps/api-reference/app/api/[area]/opengraph-image.jpg b/www/apps/api-reference/app/opengraph-image.jpg similarity index 100% rename from www/apps/api-reference/app/api/[area]/opengraph-image.jpg rename to www/apps/api-reference/app/opengraph-image.jpg diff --git a/www/apps/api-reference/app/store/page.tsx b/www/apps/api-reference/app/store/page.tsx new file mode 100644 index 0000000000000..08ede9287c580 --- /dev/null +++ b/www/apps/api-reference/app/store/page.tsx @@ -0,0 +1,48 @@ +import AreaProvider from "@/providers/area" +import StoreDescription from "../_mdx/store.mdx" +import ClientLibraries from "../_mdx/client-libraries.mdx" +import Section from "@/components/Section" +import Tags from "@/components/Tags" +import type { Area } from "@/types/openapi" +import DividedLayout from "@/layouts/Divided" +import { capitalize } from "docs-ui" +import PageTitleProvider from "../../providers/page-title" + +const ReferencePage = async () => { + const area: Area = "store" + + return ( + + +

+ Medusa V1 {capitalize(area)} API Reference +

+ +

+ Medusa V1 {capitalize(area)} API Reference +

+ + + } + codeContent={} + className="flex-col-reverse" + /> + +
+
+ ) +} + +export default ReferencePage + +export function generateMetadata() { + const area: Area = "store" + + return { + title: `Medusa ${capitalize(area)} API Reference`, + description: `REST API reference for the Medusa ${area} API. This reference includes code snippets and examples for Medusa JS Client and cURL.`, + metadataBase: process.env.NEXT_PUBLIC_BASE_URL, + } +} diff --git a/www/apps/api-reference/app/api/tag/route.ts b/www/apps/api-reference/app/tag/route.ts similarity index 100% rename from www/apps/api-reference/app/api/tag/route.ts rename to www/apps/api-reference/app/tag/route.ts diff --git a/www/apps/api-reference/app/api/[area]/twitter-image.jpg b/www/apps/api-reference/app/twitter-image.jpg similarity index 100% rename from www/apps/api-reference/app/api/[area]/twitter-image.jpg rename to www/apps/api-reference/app/twitter-image.jpg diff --git a/www/apps/api-reference/components/DownloadFull/index.tsx b/www/apps/api-reference/components/DownloadFull/index.tsx index 807a48db7b45c..fdde71b255f47 100644 --- a/www/apps/api-reference/components/DownloadFull/index.tsx +++ b/www/apps/api-reference/components/DownloadFull/index.tsx @@ -9,7 +9,7 @@ const DownloadFull = () => { return ( diff --git a/www/apps/api-reference/components/Navbar/index.tsx b/www/apps/api-reference/components/Navbar/index.tsx index 908d1b364d7a9..0c1b3ddec13a7 100644 --- a/www/apps/api-reference/components/Navbar/index.tsx +++ b/www/apps/api-reference/components/Navbar/index.tsx @@ -11,6 +11,7 @@ import { useMemo } from "react" import { config } from "../../config" import { usePathname } from "next/navigation" import VersionSwitcher from "../VersionSwitcher" +import { getBasePathUrl } from "../../utils/get-base-path-url" const Navbar = () => { const { setMobileSidebarOpen, mobileSidebarOpen } = useSidebar() @@ -29,8 +30,8 @@ const Navbar = () => { return ( diff --git a/www/apps/docs/content/development/batch-jobs/customize-import.md b/www/apps/docs/content/development/batch-jobs/customize-import.md index 9a6e828f06ddb..037afeb77d28f 100644 --- a/www/apps/docs/content/development/batch-jobs/customize-import.md +++ b/www/apps/docs/content/development/batch-jobs/customize-import.md @@ -103,7 +103,7 @@ npm run build Since you didn’t create a new batch job type and overwrote the functionality of the strategy, you can test out your functionality using the [same steps used with the default strategy](./create.mdx#test-your-batch-job-strategy). -Specifically, since you create batch jobs using the [Create Batch Job API Route](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobs) which accepts the batch job type as a body parameter, you just need to send the same type you used for this field. In the example of this documentation, the `type` would be `product-import`. +Specifically, since you create batch jobs using the [Create Batch Job API Route](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobs) which accepts the batch job type as a body parameter, you just need to send the same type you used for this field. In the example of this documentation, the `type` would be `product-import`. If you overwrote the import functionality, you can follow [these steps to learn how to import products using the Admin APIs](../../modules/products/admin/import-products.mdx). @@ -111,7 +111,7 @@ If you overwrote the import functionality, you can follow [these steps to learn ## Create Custom Batch Job Strategy -If you don’t want to override Medusa’s batch job strategy, you can create a custom batch job strategy with a different `batchType` value. Then, use that type when you send a request to [Create a Batch Job](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobs). +If you don’t want to override Medusa’s batch job strategy, you can create a custom batch job strategy with a different `batchType` value. Then, use that type when you send a request to [Create a Batch Job](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobs). For more details on creating custom batch job strategies, please check out the [Create Batch Job Strategy documentation](./create.mdx). diff --git a/www/apps/docs/content/development/batch-jobs/index.mdx b/www/apps/docs/content/development/batch-jobs/index.mdx index 6ab68b17fb938..a8ad4b878371b 100644 --- a/www/apps/docs/content/development/batch-jobs/index.mdx +++ b/www/apps/docs/content/development/batch-jobs/index.mdx @@ -11,7 +11,7 @@ In this document, you’ll learn what Batch Jobs are and how they work in Medusa ## What are Batch Jobs -Batch Jobs are tasks that can be performed asynchronously and iteratively. They can be [created using the Admin API](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobs), then, once confirmed, they are processed asynchronously. +Batch Jobs are tasks that can be performed asynchronously and iteratively. They can be [created using the Admin API](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobs), then, once confirmed, they are processed asynchronously. Every status change of a batch job triggers an event that can be handled using [subscribers](../events/subscribers.mdx). @@ -49,15 +49,15 @@ When you create a batch job strategy, the `batchType` class property indicates t A batch job’s flow from creation to completion is: -1. A batch job is created using the [Create Batch Job API route](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobs). +1. A batch job is created using the [Create Batch Job API route](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobs). 2. Once the batch job is created, the batch job’s status is changed to `created` and the `batch.created` event is triggered by the `BatchJobService`. 3. The `BatchJobSubscriber` handles the `created` event. It resolves the batch job strategy based on the `type` of the batch job, then uses it to pre-process the batch job. After this, the batch job’s status is changed to `pre_processed`. Only when the batch job has the status `pre_processed` can be confirmed. -4. If `dry_run` is not set in the Create Batch Job request in step one or if it is set to `false`, the batch job will automatically be confirmed after processing. Otherwise, if `dry_run` is set to `true`, the batch job can be confirmed using the [Confirm Batch Job API Route](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobsbatchjobconfirmprocessing). +4. If `dry_run` is not set in the Create Batch Job request in step one or if it is set to `false`, the batch job will automatically be confirmed after processing. Otherwise, if `dry_run` is set to `true`, the batch job can be confirmed using the [Confirm Batch Job API Route](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobsbatchjobconfirmprocessing). 5. Once the batch job is confirmed, the batch job’s status is changed to `confirmed` and the `batch.confirmed` event is triggered by the `BatchJobService`. 6. The `BatchJobSubscriber` handles the `confirmed` event. It resolves the batch job strategy, then uses it to process the batch job. 7. Once the batch job is processed successfully, the batch job has the status `completed`. -You can track the progress of the batch job at any point using the [Retrieve Batch Job API Route](https://docs.medusajs.com/api/admin#batch-jobs_getbatchjobsbatchjob). +You can track the progress of the batch job at any point using the [Retrieve Batch Job API Route](https://docs.medusajs.com/v1/api/admin#batch-jobs_getbatchjobsbatchjob). :::info diff --git a/www/apps/docs/content/development/entities/overview.mdx b/www/apps/docs/content/development/entities/overview.mdx index e5d93d3647bc8..386d41e859b53 100644 --- a/www/apps/docs/content/development/entities/overview.mdx +++ b/www/apps/docs/content/development/entities/overview.mdx @@ -43,7 +43,7 @@ Some example use cases for the `metadata` attribute include: You can add or update metadata entities either through the REST APIs or through create and update methods in the entity's respective [service](../services/overview.mdx). -In the [admin REST APIs](https://docs.medusajs.com/api/admin), you'll find that in create or update requests of some entities you can also set the `metadata`. +In the [admin REST APIs](https://docs.medusajs.com/v1/api/admin), you'll find that in create or update requests of some entities you can also set the `metadata`. In services, there are typically `create` or `update` methods that allow you to set or update the metadata. diff --git a/www/apps/docs/content/development/publishable-api-keys/admin/manage-publishable-api-keys.mdx b/www/apps/docs/content/development/publishable-api-keys/admin/manage-publishable-api-keys.mdx index adf7d56a7f7b9..183f85bd1490d 100644 --- a/www/apps/docs/content/development/publishable-api-keys/admin/manage-publishable-api-keys.mdx +++ b/www/apps/docs/content/development/publishable-api-keys/admin/manage-publishable-api-keys.mdx @@ -55,13 +55,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Publishable API Keys -You can retrieve a list of publishable API keys by sending a request to the [List Publishable API Keys route](https://docs.medusajs.com/api/admin#publishable-api-keys_getpublishableapikeys): +You can retrieve a list of publishable API keys by sending a request to the [List Publishable API Keys route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_getpublishableapikeys): @@ -133,7 +133,7 @@ You can retrieve a list of publishable API keys by sending a request to the [Lis -This request does not require any path parameters. You can pass it optional query parameters related to expanding fields and pagination, which you can check out in the [API reference](https://docs.medusajs.com/api/admin#publishable-api-keys_getpublishableapikeys). +This request does not require any path parameters. You can pass it optional query parameters related to expanding fields and pagination, which you can check out in the [API reference](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_getpublishableapikeys). This request returns the following data in the response: @@ -144,7 +144,7 @@ This request returns the following data in the response: :::note -You can learn more about pagination in the [API reference](https://docs.medusajs.com/api/admin#pagination). +You can learn more about pagination in the [API reference](https://docs.medusajs.com/v1/api/admin#pagination). ::: @@ -152,7 +152,7 @@ You can learn more about pagination in the [API reference](https://docs.medusajs ## Create a Publishable API Key -You can create a publishable API key by sending a request to the [Create Publishable API Key route](https://docs.medusajs.com/api/admin#publishable-api-keys_postpublishableapikeys): +You can create a publishable API key by sending a request to the [Create Publishable API Key route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_postpublishableapikeys): @@ -235,7 +235,7 @@ It returns the created publishable API key in the response. ## Update a Publishable API Key -You can update a publishable API key’s details by sending a request to the [Update Publishable API Key route](https://docs.medusajs.com/api/admin#publishable-api-keys_postpublishableapikyspublishableapikey): +You can update a publishable API key’s details by sending a request to the [Update Publishable API Key route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_postpublishableapikyspublishableapikey): @@ -330,7 +330,7 @@ This request returns the update publishable API key object in the response. Revoking a publishable API key does not remove it, but does not allow using it in future requests. -You can revoke a publishable API key by sending a request to the [Revoke Publishable API Key route](https://docs.medusajs.com/api/admin#publishable-api-keys_postpublishableapikeyspublishableapikeyrevoke): +You can revoke a publishable API key by sending a request to the [Revoke Publishable API Key route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_postpublishableapikeyspublishableapikeyrevoke): @@ -410,7 +410,7 @@ This request requires the ID of the publishable API key as a path parameter. It ## Delete a Publishable API Key -You can delete a publishable API key by sending a request to the [Delete Publishable API Key route](https://docs.medusajs.com/api/admin#publishable-api-keys_deletepublishableapikeyspublishableapikey): +You can delete a publishable API key by sending a request to the [Delete Publishable API Key route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_deletepublishableapikeyspublishableapikey): @@ -497,7 +497,7 @@ This section covers how to manage sales channels in a publishable API key. This ### List Sales Channels of a Publishable API Key -You can retrieve the list of sales channels associated with a publishable API key by sending a request to the [List Sales Channels API Route](https://docs.medusajs.com/api/admin#sales-channels_getsaleschannels): +You can retrieve the list of sales channels associated with a publishable API key by sending a request to the [List Sales Channels API Route](https://docs.medusajs.com/v1/api/admin#sales-channels_getsaleschannels): @@ -585,7 +585,7 @@ It returns an array of sales channels associated with the publishable API key in ### Add Sales Channels to Publishable API Key -You can add a sales channel to a publishable API key by sending a request to the [Add Sales Channels API Route](https://docs.medusajs.com/api/admin#publishable-api-keys_postpublishableapikeysaleschannelschannelsbatch): +You can add a sales channel to a publishable API key by sending a request to the [Add Sales Channels API Route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_postpublishableapikeysaleschannelschannelsbatch): @@ -705,7 +705,7 @@ This request returns the updated publishable API key in the response. ### Delete Sales Channels from a Publishable API Key -You can delete a sales channel from a publishable API key by sending a request to the [Delete Sales Channels API Route](https://docs.medusajs.com/api/admin#publishable-api-keys_deletepublishableapikeysaleschannelschannelsbatch): +You can delete a sales channel from a publishable API key by sending a request to the [Delete Sales Channels API Route](https://docs.medusajs.com/v1/api/admin#publishable-api-keys_deletepublishableapikeysaleschannelschannelsbatch): diff --git a/www/apps/docs/content/development/search/overview.mdx b/www/apps/docs/content/development/search/overview.mdx index 49d6519b4e919..204a03e867a4f 100644 --- a/www/apps/docs/content/development/search/overview.mdx +++ b/www/apps/docs/content/development/search/overview.mdx @@ -15,7 +15,7 @@ A search service is used to manage search indices of searchable items, such as p A search service is a service class that is defined in a TypeScript or JavaScript file, which is created in the `src/services` directory of your Medusa backend codebase or plugin. The class must extend the `AbstractSearchService` class imported from the `@medusajs/utils` package. -Using the [dependency container and injection](../fundamentals/dependency-injection.md), the Medusa backend will then use and resolve the search service within the backend’s search operations, such as when the [Search Products API Route](https://docs.medusajs.com/api/store#products_postproductssearch) is used. You can also [resolve the service](../services/create-service.mdx#use-a-service) within your resources to trigger the search where necessary. +Using the [dependency container and injection](../fundamentals/dependency-injection.md), the Medusa backend will then use and resolve the search service within the backend’s search operations, such as when the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products_postproductssearch) is used. You can also [resolve the service](../services/create-service.mdx#use-a-service) within your resources to trigger the search where necessary. Medusa provides official plugins that you can install and use in your Medusa backend. Check out available search plugins [here](../../plugins/search/index.mdx). diff --git a/www/apps/docs/content/homepage.mdx b/www/apps/docs/content/homepage.mdx index c73401f91a76d..1fdfdff991c35 100644 --- a/www/apps/docs/content/homepage.mdx +++ b/www/apps/docs/content/homepage.mdx @@ -137,7 +137,7 @@ Medusa provides the essential building blocks that developers can put together t diff --git a/www/apps/docs/content/medusa-react/overview.mdx b/www/apps/docs/content/medusa-react/overview.mdx index a700d2d24b23b..02190881a92b2 100644 --- a/www/apps/docs/content/medusa-react/overview.mdx +++ b/www/apps/docs/content/medusa-react/overview.mdx @@ -208,7 +208,7 @@ Learn more about how you can use mutations in [Tanstack Query’s documentation] There are two ways to authenticate an admin user: 1. Using the [useAdminLogin hook](../references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). This hook tries to authenticate the user by their email and password credential and, if successful, attaches the cookie session ID to subsequent requests. -2. Using the `apiKey` option of the [MedusaProvider](../references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx#medusaprovider) if the admin has an API key. If the admin doesn't have an API key, you can create one using the [useAdminUpdateUser hook](../references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx#useAdminUpdateUser) or the [Update User API route](https://docs.medusajs.com/api/admin#users_postusersuser). +2. Using the `apiKey` option of the [MedusaProvider](../references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx#medusaprovider) if the admin has an API key. If the admin doesn't have an API key, you can create one using the [useAdminUpdateUser hook](../references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx#useAdminUpdateUser) or the [Update User API route](https://docs.medusajs.com/v1/api/admin#users_postusersuser). For example: diff --git a/www/apps/docs/content/modules/carts-and-checkout/backend/cart-completion-strategy.md b/www/apps/docs/content/modules/carts-and-checkout/backend/cart-completion-strategy.md index bc333f84dc32a..1bd873c89f49c 100644 --- a/www/apps/docs/content/modules/carts-and-checkout/backend/cart-completion-strategy.md +++ b/www/apps/docs/content/modules/carts-and-checkout/backend/cart-completion-strategy.md @@ -85,7 +85,7 @@ In the above example, you inject the `IdempotencyKeyService` in the constructor. ## Step 2: Implement the complete Method -The cart completion strategy is required to implement a single method: the `complete` method. This method is used in the [Complete Cart API Route](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) to handle the logic of completing the cart. +The cart completion strategy is required to implement a single method: the `complete` method. This method is used in the [Complete Cart API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) to handle the logic of completing the cart. The method accepts three parameters: diff --git a/www/apps/docs/content/modules/carts-and-checkout/cart.md b/www/apps/docs/content/modules/carts-and-checkout/cart.md index ea581c0ade194..be0df5b3ea022 100644 --- a/www/apps/docs/content/modules/carts-and-checkout/cart.md +++ b/www/apps/docs/content/modules/carts-and-checkout/cart.md @@ -55,7 +55,7 @@ If you have tax-inclusive pricing enabled, you can learn about other available t ::: -The cart’s totals are retrieved by default in all the [cart’s store APIs](https://docs.medusajs.com/api/store#carts). +The cart’s totals are retrieved by default in all the [cart’s store APIs](https://docs.medusajs.com/v1/api/store#carts). --- @@ -63,7 +63,7 @@ The cart’s totals are retrieved by default in all the [cart’s store APIs](ht The cart completion functionality is implemented inside the strategy `cartCompletionStrategy`. This allows you to customize how the process is implemented in your store. -You can initiate the cart completion process by sending a request to the [Complete Cart API Route](https://docs.medusajs.com/api/store#carts_postcartscartcomplete). +You can initiate the cart completion process by sending a request to the [Complete Cart API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete). ### Idempotency Key diff --git a/www/apps/docs/content/modules/carts-and-checkout/overview.mdx b/www/apps/docs/content/modules/carts-and-checkout/overview.mdx index d20ba3b778c72..c2bdaebca4024 100644 --- a/www/apps/docs/content/modules/carts-and-checkout/overview.mdx +++ b/www/apps/docs/content/modules/carts-and-checkout/overview.mdx @@ -27,7 +27,7 @@ Customers can manage their cart including adding, updating, and removing items f }, { type: 'link', - href: 'https://docs.medusajs.com/api/store#carts', + href: 'https://docs.medusajs.com/v1/api/store#carts', label: 'Storefront APIs: Carts', customProps: { icon: Icons['server-solid'], @@ -99,7 +99,7 @@ Customers can place orders using the checkout flow. }, { type: 'link', - href: 'https://docs.medusajs.com/api/store#carts', + href: 'https://docs.medusajs.com/v1/api/store#carts', label: 'Storefront APIs: Cart', customProps: { icon: Icons['server-solid'], diff --git a/www/apps/docs/content/modules/carts-and-checkout/payment.md b/www/apps/docs/content/modules/carts-and-checkout/payment.md index 1772164d5da5d..d82d4e9677174 100644 --- a/www/apps/docs/content/modules/carts-and-checkout/payment.md +++ b/www/apps/docs/content/modules/carts-and-checkout/payment.md @@ -48,7 +48,7 @@ As a developer, you will mainly work with the Payment Processor when integrating When you run your Medusa backend, the Payment Processor will be registered on your backend if it hasn’t been already. -Once the Payment Processor is added to the backend, the store operator will be able to choose using the [admin dashboard](../../admin/quickstart.mdx) the payment processors available in a region. You can alternatively do that using the [admin APIs](https://docs.medusajs.com/api/admin). These payment processors are shown to the customer at checkout as payment methods to choose from and use. +Once the Payment Processor is added to the backend, the store operator will be able to choose using the [admin dashboard](../../admin/quickstart.mdx) the payment processors available in a region. You can alternatively do that using the [admin APIs](https://docs.medusajs.com/v1/api/admin). These payment processors are shown to the customer at checkout as payment methods to choose from and use. :::warning diff --git a/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-cart.mdx b/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-cart.mdx index 9703351e646a9..337a4569dfce0 100644 --- a/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-cart.mdx +++ b/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-cart.mdx @@ -182,7 +182,7 @@ Otherwise, you can assign it a specific region during creation: -Check out the [API Reference](https://docs.medusajs.com/api/store#carts_postcart) for a full list of available request body parameters. +Check out the [API Reference](https://docs.medusajs.com/v1/api/store#carts_postcart) for a full list of available request body parameters. :::note @@ -329,7 +329,7 @@ This request accepts the ID of the cart as a path parameter. In its body, you ca It returns the updated cart. -Check out the full list of available request body parameters in the [API Reference](https://docs.medusajs.com/api/store#carts_postcart). +Check out the full list of available request body parameters in the [API Reference](https://docs.medusajs.com/v1/api/store#carts_postcart). ### Associate a Logged-In Customer with the Cart @@ -527,7 +527,7 @@ This request accepts the ID of the cart as a path parameter. In the body, it's r It returns the updated cart. -This adds a new line item to the cart. Line items can be accessed using `cart.items` which is an array that holds all line items in the cart. You can learn more about what properties line items have in the [API reference](https://docs.medusajs.com/api/store#carts_postcartscartlineitems). +This adds a new line item to the cart. Line items can be accessed using `cart.items` which is an array that holds all line items in the cart. You can learn more about what properties line items have in the [API reference](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems). :::note diff --git a/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx b/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx index 3c43fbad02495..fa24e6cfa07a0 100644 --- a/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx +++ b/www/apps/docs/content/modules/carts-and-checkout/storefront/implement-checkout-flow.mdx @@ -48,7 +48,7 @@ It's also assumed you already have [used CartProvider higher in your component t ### Previous Steps -This document assumes you’ve already taken care of the add-to-cart flow. So, you should have a [cart created](./implement-cart.mdx#create-a-cart) and [associated with a logged-in or guest customer](./implement-cart.mdx#associate-a-logged-in-customer-with-the-cart). The cart should also have at least [one product in it](https://docs.medusajs.com/api/store#carts_postcartscartlineitems). +This document assumes you’ve already taken care of the add-to-cart flow. So, you should have a [cart created](./implement-cart.mdx#create-a-cart) and [associated with a logged-in or guest customer](./implement-cart.mdx#associate-a-logged-in-customer-with-the-cart). The cart should also have at least [one product in it](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems). You can learn how to implement the cart flow using [this documentation](./implement-cart.mdx). @@ -60,7 +60,7 @@ In this step, the customer generally enters their shipping info, then chooses th ### Add Shipping Address -After the customer enters their shipping address information, you must send a `POST` request to the [Update a Cart API Route](https://docs.medusajs.com/api/store#carts_postcartscart): +After the customer enters their shipping address information, you must send a `POST` request to the [Update a Cart API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscart): @@ -164,7 +164,7 @@ The request returns the updated cart, with the new shipping address available in After updating the cart with the customer’s address, the list of available [shipping options](../shipping.md#shipping-option) for that cart might change. So, you should retrieve the updated list of options. -You can retrieve the list of shipping options by sending a `GET` request to the [Retrieve Shipping Options for Cart API Route](https://docs.medusajs.com/api/store#shipping-options_getshippingoptionscartid): +You can retrieve the list of shipping options by sending a `GET` request to the [Retrieve Shipping Options for Cart API Route](https://docs.medusajs.com/v1/api/store#shipping-options_getshippingoptionscartid): @@ -230,11 +230,11 @@ You can retrieve the list of shipping options by sending a `GET` request to the -The request accepts the ID of the cart as a path parameter. It returns the array of [shipping options](https://docs.medusajs.com/api/store#shipping-options_getshippingoptions). Typically you would display those options to the customer to choose from. +The request accepts the ID of the cart as a path parameter. It returns the array of [shipping options](https://docs.medusajs.com/v1/api/store#shipping-options_getshippingoptions). Typically you would display those options to the customer to choose from. ### Choose Shipping Option -Once the customer chooses one of the available shipping options, send a `POST` request to the [Add a Shipping Method API Route](https://docs.medusajs.com/api/store#carts_postcartscartshippingmethod). This will create a [shipping method](../shipping.md#shipping-method) based on the shipping option chosen and will associate it with the customer’s cart: +Once the customer chooses one of the available shipping options, send a `POST` request to the [Add a Shipping Method API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartshippingmethod). This will create a [shipping method](../shipping.md#shipping-method) based on the shipping option chosen and will associate it with the customer’s cart: @@ -316,7 +316,7 @@ In this step, the customer generally chooses a payment method to complete their When the page opens and before the payment providers are displayed to the customer to choose from, you must create the [payment sessions](../payment.md#payment-session) for the current cart. Each payment provider will have a payment session associated with it. These payment sessions will be used later when the customer chooses the payment provider they want to complete their purchase with. -To initialize the payment sessions, send a `POST` request to the [Initialize Payment Sessions API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession): +To initialize the payment sessions, send a `POST` request to the [Initialize Payment Sessions API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession): @@ -384,7 +384,7 @@ This API Route accepts the ID of the cart as a path parameter. It returns the up ### Select Payment Session -When the customer chooses the payment processor they want to complete purchase with, you should select the payment session associated with that payment processor. To do that, send a `POST` request to the [Select a Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession): +When the customer chooses the payment processor they want to complete purchase with, you should select the payment session associated with that payment processor. To do that, send a `POST` request to the [Select a Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession): @@ -459,7 +459,7 @@ If you have one payment processor or if only one payment processor is available This step is optional and is only necessary for some payment processors. As mentioned in the [Payment Architecture](../payment.md#overview) documentation, the `PaymentSession` model has a `data` attribute that holds any data required for the Payment Processor to perform payment operations such as capturing payment. -If you need to update that data at any point before the purchase is made, send a request to [Update a Payment Session API Route](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate): +If you need to update that data at any point before the purchase is made, send a request to [Update a Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate): @@ -545,7 +545,7 @@ It returns the updated cart. You can access the payment session's data on `cart. The last step is to place the order by completing the cart. When you complete the cart, your Medusa backend will try to authorize the payment first, then place the order if the authorization is successful. So, you should perform any necessary action with your payment processor first to make sure the authorization is successful when you send the request to complete the cart. -To complete a cart, send a `POST` request to the [Complete a Cart API Route](https://docs.medusajs.com/api/store#carts_postcartscartcomplete): +To complete a cart, send a `POST` request to the [Complete a Cart API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete): diff --git a/www/apps/docs/content/modules/customers/admin/manage-customer-groups.mdx b/www/apps/docs/content/modules/customers/admin/manage-customer-groups.mdx index 03814d6bb415a..402e8bad9a430 100644 --- a/www/apps/docs/content/modules/customers/admin/manage-customer-groups.mdx +++ b/www/apps/docs/content/modules/customers/admin/manage-customer-groups.mdx @@ -42,7 +42,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -199,7 +199,7 @@ You can get a list of all customer groups by sending a request to the List Custo This request returns an array of customer groups, as well as pagination fields. -You can also pass filters and other selection query parameters to the request. Check out the [API reference](https://docs.medusajs.com/api/admin#customer-groups_getcustomergroups) for more details on available query parameters. +You can also pass filters and other selection query parameters to the request. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#customer-groups_getcustomergroups) for more details on available query parameters. --- diff --git a/www/apps/docs/content/modules/customers/admin/manage-customers.mdx b/www/apps/docs/content/modules/customers/admin/manage-customers.mdx index 5dee1758fd389..b33adbd8dcfd5 100644 --- a/www/apps/docs/content/modules/customers/admin/manage-customers.mdx +++ b/www/apps/docs/content/modules/customers/admin/manage-customers.mdx @@ -46,13 +46,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Customers -You can show a list of customers by sending a request to the [List Customers API Route](https://docs.medusajs.com/api/admin#customers_getcustomers): +You can show a list of customers by sending a request to the [List Customers API Route](https://docs.medusajs.com/v1/api/admin#customers_getcustomers): @@ -117,7 +117,7 @@ You can show a list of customers by sending a request to the [List Customers API -This request doesn’t require any path or query parameters. You can pass it optional parameters used for filtering and pagination. Check out the [API reference](https://docs.medusajs.com/api/admin#customers_getcustomers) to learn more. +This request doesn’t require any path or query parameters. You can pass it optional parameters used for filtering and pagination. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#customers_getcustomers) to learn more. This request returns the following data in the response: @@ -128,7 +128,7 @@ This request returns the following data in the response: :::info -You can learn more about pagination in the [API reference](https://docs.medusajs.com/api/admin#pagination). +You can learn more about pagination in the [API reference](https://docs.medusajs.com/v1/api/admin#pagination). ::: @@ -138,7 +138,7 @@ You can learn more about pagination in the [API reference](https://docs.medusajs Admins can create customer accounts. They have to supply the customer’s credentials and basic info. -You can create a customer account by sending a request to the [Create a Customer API Route](https://docs.medusajs.com/api/admin#customers_postcustomers): +You can create a customer account by sending a request to the [Create a Customer API Route](https://docs.medusajs.com/v1/api/admin#customers_postcustomers): @@ -234,7 +234,7 @@ This request requires the following body parameters: - `first_name`: The customer’s first name. - `last_name`: the customer’s last name. -You can also pass other optional parameters. To learn more, check out the [API reference](https://docs.medusajs.com/api/admin#customers_postcustomers). +You can also pass other optional parameters. To learn more, check out the [API reference](https://docs.medusajs.com/v1/api/admin#customers_postcustomers). The request returns the created customer object in the response. @@ -244,7 +244,7 @@ The request returns the created customer object in the response. An admin can edit a customer’s basic information and credentials. -You can edit a customer’s information by sending a request to the [Update a Customer API Route](https://docs.medusajs.com/api/admin#customers_postcustomerscustomer): +You can edit a customer’s information by sending a request to the [Update a Customer API Route](https://docs.medusajs.com/v1/api/admin#customers_postcustomerscustomer): @@ -324,7 +324,7 @@ You can edit a customer’s information by sending a request to the [Update a Cu -This request accepts any of the customer’s fields as body parameters. In this example, you update the customer’s first name. You can learn more about accepted body parameters in the [API reference](https://docs.medusajs.com/api/admin#customers_postcustomerscustomer). +This request accepts any of the customer’s fields as body parameters. In this example, you update the customer’s first name. You can learn more about accepted body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#customers_postcustomerscustomer). This request returns the updated customer object in the response. diff --git a/www/apps/docs/content/modules/customers/overview.mdx b/www/apps/docs/content/modules/customers/overview.mdx index c682400bf5590..14be6199293b8 100644 --- a/www/apps/docs/content/modules/customers/overview.mdx +++ b/www/apps/docs/content/modules/customers/overview.mdx @@ -82,7 +82,7 @@ For example, an admin can specify a different pricing or special discounts for s }, { type: 'link', - href: 'https://docs.medusajs.com/api/admin#customer-groups', + href: 'https://docs.medusajs.com/v1/api/admin#customer-groups', label: 'Admin APIs: Customer Groups', customProps: { icon: Icons['server-solid'], diff --git a/www/apps/docs/content/modules/customers/storefront/implement-customer-profiles.mdx b/www/apps/docs/content/modules/customers/storefront/implement-customer-profiles.mdx index 7e7d18a933fc5..0d2292ad7a002 100644 --- a/www/apps/docs/content/modules/customers/storefront/implement-customer-profiles.mdx +++ b/www/apps/docs/content/modules/customers/storefront/implement-customer-profiles.mdx @@ -26,7 +26,7 @@ You want to implement the following features in a storefront: :::note -You can use Medusa’s Store APIs to achieve more functionalities as well. Check out the [API reference](https://docs.medusajs.com/api/store#customers) to learn more. +You can use Medusa’s Store APIs to achieve more functionalities as well. Check out the [API reference](https://docs.medusajs.com/v1/api/store#customers) to learn more. ::: @@ -58,7 +58,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus A customer can register with an email and a password to store and manage their data. -You can register a new customer by sending a request to the [Create a Customer API Route](https://docs.medusajs.com/api/store#customers_postcustomers): +You can register a new customer by sending a request to the [Create a Customer API Route](https://docs.medusajs.com/v1/api/store#customers_postcustomers): @@ -135,12 +135,12 @@ You can register a new customer by sending a request to the [Create a Customer A This request requires the following body parameters: -- `email`: An email used to log in after registration. This email must be unique. You can check if an email is unique using the “[Check if email exists](https://docs.medusajs.com/api/store#auth_getauthemail)” API Route. +- `email`: An email used to log in after registration. This email must be unique. You can check if an email is unique using the “[Check if email exists](https://docs.medusajs.com/v1/api/store#auth_getauthemail)” API Route. - `password`: A password used to log in after registration. - `first_name`: The customer’s first name. - `last_name`: The customer’s last name. -This request also accepts optional body parameters, which you can check out in the [API reference](https://docs.medusajs.com/api/store#customers_postcustomers). +This request also accepts optional body parameters, which you can check out in the [API reference](https://docs.medusajs.com/v1/api/store#customers_postcustomers). It returns the created customer object in the response. @@ -150,7 +150,7 @@ It returns the created customer object in the response. A customer can log in to your store to manage their data and make purchases using their account. -You can log in a customer into your store by sending a request to the [Customer Login API Route](https://docs.medusajs.com/api/store#auth_postauth): +You can log in a customer into your store by sending a request to the [Customer Login API Route](https://docs.medusajs.com/v1/api/store#auth_postauth): @@ -199,7 +199,7 @@ However, if you’re using the Fetch API, you must include the option `credentia ## Log out a Customer -You can log out a customer by sending a request to the [Customer Logout API Route](https://docs.medusajs.com/api/store#auth_deleteauth): +You can log out a customer by sending a request to the [Customer Logout API Route](https://docs.medusajs.com/v1/api/store#auth_deleteauth): @@ -239,7 +239,7 @@ Customers might need to reset their password in case they forget it. To reset a The customer must first enter their account’s email. Then, if an account with that email address exists, an email will be sent to that email address with a link that points the customer to step 2. -You can request to reset a customer’s password by sending a request to the [Request Password Reset API Route](https://docs.medusajs.com/api/store#customers_postcustomerscustomerpasswordtoken): +You can request to reset a customer’s password by sending a request to the [Request Password Reset API Route](https://docs.medusajs.com/v1/api/store#customers_postcustomerscustomerpasswordtoken): @@ -295,7 +295,7 @@ If the customer doesn’t receive an email after this request, make sure that yo After the first step, the customer should receive an email with a link to a page in the storefront. This page should accept a `token` query parameter. Then, the customer should be prompted to enter their email and password. -You can then reset the customer’s password to the new password they enter by sending a request to the [Reset Password API Route](https://docs.medusajs.com/api/store#customers_postcustomersresetpassword): +You can then reset the customer’s password to the new password they enter by sending a request to the [Reset Password API Route](https://docs.medusajs.com/v1/api/store#customers_postcustomersresetpassword): @@ -350,7 +350,7 @@ If successful, this request returns the customer object in the response. A logged-in customer can edit their info, such as their first name or email address. -You can edit a customer’s info using the [Update Customer API Route](https://docs.medusajs.com/api/store#customers_postcustomerscustomer): +You can edit a customer’s info using the [Update Customer API Route](https://docs.medusajs.com/v1/api/store#customers_postcustomerscustomer): @@ -421,7 +421,7 @@ You can edit a customer’s info using the [Update Customer API Route](https://d -This request accepts any of the customer’s details that should be updated as body parameters. In the example above, the `first_name` of the customer is updated. You can check out the [API reference](https://docs.medusajs.com/api/api/store#customers_postcustomerscustomer) for a full list of accepted body parameters. +This request accepts any of the customer’s details that should be updated as body parameters. In the example above, the `first_name` of the customer is updated. You can check out the [API reference](https://docs.medusajs.com/v1/api/api/store#customers_postcustomerscustomer) for a full list of accepted body parameters. It returns in the response the updated customer object. @@ -439,7 +439,7 @@ The customer object returned in the requests mentioned in this document include ### Add a Shipping Address -You can add a shipping address to a customer’s account by sending a request to the [Add a Shipping Address API Route](https://docs.medusajs.com/api/store#customers_postcustomerscustomeraddresses): +You can add a shipping address to a customer’s account by sending a request to the [Add a Shipping Address API Route](https://docs.medusajs.com/v1/api/store#customers_postcustomerscustomeraddresses): @@ -509,13 +509,13 @@ This request requires an `address` object as a body parameter. The `address` obj - `country_code`: The 2 character ISO code of the country in lower case. - `postal_code`: The postal code of the shipping address -It also accepts other optional body parameters, which you can learn more about in the [API reference](https://docs.medusajs.com/api/store#customers_postcustomerscustomeraddresses). +It also accepts other optional body parameters, which you can learn more about in the [API reference](https://docs.medusajs.com/v1/api/store#customers_postcustomerscustomeraddresses). This request returns the updated customer object in the response. ### Edit a Shipping Address -You can edit a customer’s shipping address using the [Update a Shipping Address API Route](https://docs.medusajs.com/api/store#customers_postcustomerscustomeraddressesaddress): +You can edit a customer’s shipping address using the [Update a Shipping Address API Route](https://docs.medusajs.com/v1/api/store#customers_postcustomerscustomeraddressesaddress): @@ -554,13 +554,13 @@ You can edit a customer’s shipping address using the [Update a Shipping Addres -This request requires the address’s ID as a path parameter. It accepts as a body parameter any of the address’s properties. In the example above, the `first_name` of the shipping address is updated. You can check the [API reference](https://docs.medusajs.com/api/store#customers_postcustomerscustomeraddressesaddress) for all the available body parameters. +This request requires the address’s ID as a path parameter. It accepts as a body parameter any of the address’s properties. In the example above, the `first_name` of the shipping address is updated. You can check the [API reference](https://docs.medusajs.com/v1/api/store#customers_postcustomerscustomeraddressesaddress) for all the available body parameters. This request returns the updated customer object in the response. ### Delete a Shipping Address -You can delete a shipping address by sending a request to the [Delete an Address API Route](https://docs.medusajs.com/api/store#customers_deletecustomerscustomeraddressesaddress): +You can delete a shipping address by sending a request to the [Delete an Address API Route](https://docs.medusajs.com/v1/api/store#customers_deletecustomerscustomeraddressesaddress): @@ -599,7 +599,7 @@ This request requires the address’s ID as a path parameter. It returns in the Logged-in customers can see their orders along with the orders’ details. -You can retrieve a customer’s orders by sending a request to the [List Orders API Route](https://docs.medusajs.com/api/store#customers_getcustomerscustomerorders): +You can retrieve a customer’s orders by sending a request to the [List Orders API Route](https://docs.medusajs.com/v1/api/store#customers_getcustomerscustomerorders): @@ -655,7 +655,7 @@ You can retrieve a customer’s orders by sending a request to the [List Orders -This request doesn’t require any path or query parameters. You can, however, send optional query parameters used for filters, pagination, and sorting. You can learn more in the [API reference](https://docs.medusajs.com/api/store#customers_getcustomerscustomerorders). +This request doesn’t require any path or query parameters. You can, however, send optional query parameters used for filters, pagination, and sorting. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/store#customers_getcustomerscustomerorders). It returns the following data in the response: @@ -666,6 +666,6 @@ It returns the following data in the response: :::info -You can learn more about pagination in the [API reference](https://docs.medusajs.com/api/store#pagination). +You can learn more about pagination in the [API reference](https://docs.medusajs.com/v1/api/store#pagination). ::: \ No newline at end of file diff --git a/www/apps/docs/content/modules/discounts/admin/manage-discounts.mdx b/www/apps/docs/content/modules/discounts/admin/manage-discounts.mdx index 3a59c1299463d..0c2ed1fb87203 100644 --- a/www/apps/docs/content/modules/discounts/admin/manage-discounts.mdx +++ b/www/apps/docs/content/modules/discounts/admin/manage-discounts.mdx @@ -18,7 +18,7 @@ If you want to learn about the Discount architecture in-depth, check out the [Di ## Overview -Using Medusa’s Discount Admin APIs, you can manage discounts, their conditions, status, rules, and more. You can also manage [dynamic discounts and their discount codes](https://docs.medusajs.com/api/admin#discounts_postdiscountsdiscountdynamiccodes). +Using Medusa’s Discount Admin APIs, you can manage discounts, their conditions, status, rules, and more. You can also manage [dynamic discounts and their discount codes](https://docs.medusajs.com/v1/api/admin#discounts_postdiscountsdiscountdynamiccodes). ### Scenario @@ -30,7 +30,7 @@ You want to add or use general admin functionalities related to: :::tip -You can use Medusa’s Admin APIs to achieve more functionalities as well. Check out the [API reference](https://docs.medusajs.com/api/admin#discounts) to learn more. +You can use Medusa’s Admin APIs to achieve more functionalities as well. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#discounts) to learn more. ::: @@ -58,13 +58,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## Create a Discount -You can create a discount by sending a request to the [Create Discount API Route](https://docs.medusajs.com/api/admin#discounts_postdiscounts): +You can create a discount by sending a request to the [Create Discount API Route](https://docs.medusajs.com/v1/api/admin#discounts_postdiscounts): @@ -190,7 +190,7 @@ You can create a discount by sending a request to the [Create Discount API Route -This request accepts [many request-body parameters](https://docs.medusajs.com/api/admin#discounts_postdiscounts) including: +This request accepts [many request-body parameters](https://docs.medusajs.com/v1/api/admin#discounts_postdiscounts) including: - `code`: This parameter is required. It is a unique code. The customer redeems the discount using this code. - `rule`: This parameter is required. It is an object having at least the following fields: @@ -205,7 +205,7 @@ This request returns the full `discount` object. ## Update Discount -You can update any of the discount’s information, configurations, and conditions by sending a request to the [Update Discount API Route](https://docs.medusajs.com/api/admin#discounts_postdiscountsdiscount). +You can update any of the discount’s information, configurations, and conditions by sending a request to the [Update Discount API Route](https://docs.medusajs.com/v1/api/admin#discounts_postdiscountsdiscount). For example, you can update the discount’s description and status by sending the following request: @@ -284,7 +284,7 @@ For example, you can update the discount’s description and status by sending t This request accepts the discount ID as a path parameter. You can pass the parameters you want to update in the request body. In the example above, is_disabled` parameter to update it. -You can check the [API reference](https://docs.medusajs.com/api/admin#discounts_postdiscountsdiscount) for all the accepted parameters to update the discount. +You can check the [API reference](https://docs.medusajs.com/v1/api/admin#discounts_postdiscountsdiscount) for all the accepted parameters to update the discount. This updates the discount’s information and returns the full updated `discount` object in the response. @@ -300,7 +300,7 @@ You can learn more about conditions and conditions types in the [Discount Archit ::: -You can send a request to the [Create Condition API Route](https://docs.medusajs.com/api/admin#discounts_postdiscountsdiscountconditions) to create a condition in a discount: +You can send a request to the [Create Condition API Route](https://docs.medusajs.com/v1/api/admin#discounts_postdiscountsdiscountconditions) to create a condition in a discount: @@ -410,13 +410,13 @@ For example, if the condition type is product, meaning that the condition specif The additional required parameter must be an array of IDs of the resources. For the previous example, `products` would be an array of product IDs. -You can check the [API reference](https://docs.medusajs.com/api/admin#discounts_postdiscountsdiscountconditions) for a full list of accepted parameters based on the condition type. +You can check the [API reference](https://docs.medusajs.com/v1/api/admin#discounts_postdiscountsdiscountconditions) for a full list of accepted parameters based on the condition type. This request returns the full `discount` object in the response which includes all conditions under `discount.rule.conditions`. ### Retrieve Condition -You can retrieve a condition and its resources by sending a request to the [Get Condition API Route](https://docs.medusajs.com/api/admin#discounts_getdiscountsdiscountconditionscondition): +You can retrieve a condition and its resources by sending a request to the [Get Condition API Route](https://docs.medusajs.com/v1/api/admin#discounts_getdiscountsdiscountconditionscondition): @@ -512,7 +512,7 @@ In the previous example, you pass `expand=products` as a query parameter, which ### Update Condition -You can update a condition’s resources using the [Update Condition API Route](https://docs.medusajs.com/api/admin#discounts_postdiscountsdiscountconditionscondition). You can’t update a condition’s operator. +You can update a condition’s resources using the [Update Condition API Route](https://docs.medusajs.com/v1/api/admin#discounts_postdiscountsdiscountconditionscondition). You can’t update a condition’s operator. For example, to update the products in a condition: @@ -627,7 +627,7 @@ This request returns the full `discount` object with the updated condition in th ### Delete Condition -You can delete a condition by sending a request to the [Delete Condition API Route](https://docs.medusajs.com/api/admin#discounts_deletediscountsdiscountconditionscondition): +You can delete a condition by sending a request to the [Delete Condition API Route](https://docs.medusajs.com/v1/api/admin#discounts_deletediscountsdiscountconditionscondition): @@ -712,7 +712,7 @@ It returns the `discount` object in the response. ## Delete Discount -You can delete a discount by sending a request to the [Delete Discount API Route](https://docs.medusajs.com/api/admin#discounts_deletediscountsdiscount): +You can delete a discount by sending a request to the [Delete Discount API Route](https://docs.medusajs.com/v1/api/admin#discounts_deletediscountsdiscount): diff --git a/www/apps/docs/content/modules/discounts/overview.mdx b/www/apps/docs/content/modules/discounts/overview.mdx index b3f56afc660bb..6feb52a3d56f7 100644 --- a/www/apps/docs/content/modules/discounts/overview.mdx +++ b/www/apps/docs/content/modules/discounts/overview.mdx @@ -59,7 +59,7 @@ Customers can benefit from discounts by using a discount code during checkout. }, { type: 'link', - href: 'https://docs.medusajs.com/api/store#carts_getcartscart', + href: 'https://docs.medusajs.com/v1/api/store#carts_getcartscart', label: 'Store APIs: Discounts', customProps: { icon: Icons['server-solid'], diff --git a/www/apps/docs/content/modules/discounts/storefront/use-discounts-in-checkout.mdx b/www/apps/docs/content/modules/discounts/storefront/use-discounts-in-checkout.mdx index 92f52a33d070f..c98031c53363e 100644 --- a/www/apps/docs/content/modules/discounts/storefront/use-discounts-in-checkout.mdx +++ b/www/apps/docs/content/modules/discounts/storefront/use-discounts-in-checkout.mdx @@ -52,7 +52,7 @@ It's also assumed you already have [used CartProvider higher in your component t ### Previous Steps -This document assumes you’ve already taken care of the add-to-cart flow. So, you should have a [cart created](https://docs.medusajs.com/api/store#carts_postcart) for the customer with at least [one product in it](https://docs.medusajs.com/api/store#carts_postcartscartlineitems). +This document assumes you’ve already taken care of the add-to-cart flow. So, you should have a [cart created](https://docs.medusajs.com/v1/api/store#carts_postcart) for the customer with at least [one product in it](https://docs.medusajs.com/v1/api/store#carts_postcartscartlineitems). You can learn how to implement the cart flow using [this documentation](../../../modules/carts-and-checkout/storefront/implement-cart.mdx). @@ -62,7 +62,7 @@ You can learn how to implement the cart flow using [this documentation](../../.. The customer can enter a discount code during the checkout flow to benefit from a promotion. -You can add a discount to a customer’s cart by sending the [Update Cart request](https://docs.medusajs.com/api/store#carts_postcartscart): +You can add a discount to a customer’s cart by sending the [Update Cart request](https://docs.medusajs.com/v1/api/store#carts_postcartscart): @@ -253,7 +253,7 @@ The returned `cart` object has the following properties that can be used to disp The customer can choose to remove a discount from their cart. -You can remove a discount from a customer’s cart using the [Remove Discount request](https://docs.medusajs.com/api/store#carts_deletecartscartdiscountsdiscount): +You can remove a discount from a customer’s cart using the [Remove Discount request](https://docs.medusajs.com/v1/api/store#carts_deletecartscartdiscountsdiscount): diff --git a/www/apps/docs/content/modules/gift-cards/admin/manage-gift-cards.mdx b/www/apps/docs/content/modules/gift-cards/admin/manage-gift-cards.mdx index 601514dd6a7c3..3c7867c384fef 100644 --- a/www/apps/docs/content/modules/gift-cards/admin/manage-gift-cards.mdx +++ b/www/apps/docs/content/modules/gift-cards/admin/manage-gift-cards.mdx @@ -51,7 +51,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -63,7 +63,7 @@ As gift cards are, before purchase, essentially products, you’ll be using prod ### Retrieve Gift Card Product -You can retrieve the gift card products by sending a request to the [List Products API Route](https://docs.medusajs.com/api/admin#products_getproducts), but filtering the products with the `is_giftcard` flag: +You can retrieve the gift card products by sending a request to the [List Products API Route](https://docs.medusajs.com/v1/api/admin#products_getproducts), but filtering the products with the `is_giftcard` flag: @@ -148,11 +148,11 @@ You can retrieve the gift card products by sending a request to the [List Produc The List Products API Route accepts a variety of query parameters that can be used to filter the products. One of them is `is_giftcard`. When set to `true`, it will only retrieve the gift card products. -The request returns the `products` array in the response which holds the gift card in it, if it’s available. It also returns [pagination fields](https://docs.medusajs.com/api/admin#pagination). +The request returns the `products` array in the response which holds the gift card in it, if it’s available. It also returns [pagination fields](https://docs.medusajs.com/v1/api/admin#pagination). ### Create Gift Card Product -You can create a gift card product by sending a request to the [Create a Product API Route](https://docs.medusajs.com/api/admin#products_postproducts): +You can create a gift card product by sending a request to the [Create a Product API Route](https://docs.medusajs.com/v1/api/admin#products_postproducts): @@ -339,7 +339,7 @@ This request requires the `title` body parameter, which is the name given to the - `options`: An array that includes available options of the product. For a gift card, you should add one option with the title “Denomination”. - `variants`: An array that includes the different variations of the product using the available options. For a gift card, you should pass each denomination value as an item in this array. The value is passed in the `prices` and `options` array. If you want to add prices for different currencies, you can pass them under `prices` and `options` as well. -You can pass other body parameters to change the handle, add images, and more. Check the [API reference](https://docs.medusajs.com/api/admin#products_postproducts) for available body parameters. +You can pass other body parameters to change the handle, add images, and more. Check the [API reference](https://docs.medusajs.com/v1/api/admin#products_postproducts) for available body parameters. This request returns the created gift card product in the response. @@ -353,7 +353,7 @@ Although you can create an unlimited number of gift cards, the admin dashboard's After creating a gift card, merchants can update it or its denomination. -You can update a gift card product’s details by sending a request to the [Update a Product API Route](https://docs.medusajs.com/api/admin#products_postproductsproduct): +You can update a gift card product’s details by sending a request to the [Update a Product API Route](https://docs.medusajs.com/v1/api/admin#products_postproductsproduct): @@ -436,13 +436,13 @@ You can update a gift card product’s details by sending a request to the [Upda This request requires the ID of the gift card product as a path parameter. You can pass in its body parameters, any of the gift card’s properties to update. -In this example, you update the description of the gift card. You can check the [API reference](https://docs.medusajs.com/api/admin#products_postproductsproduct) for all the body parameters you can pass to this request. +In this example, you update the description of the gift card. You can check the [API reference](https://docs.medusajs.com/v1/api/admin#products_postproductsproduct) for all the body parameters you can pass to this request. This request returns the updated gift card product in the response. ### Delete Gift Card Product -You can delete a gift card product by sending a request to the [Delete a Product API Route](https://docs.medusajs.com/api/admin#products_deleteproductsproduct): +You can delete a gift card product by sending a request to the [Delete a Product API Route](https://docs.medusajs.com/v1/api/admin#products_deleteproductsproduct): @@ -523,7 +523,7 @@ This section covers how to manage custom gift cards. You can create an unlimited ### List Custom Gift Cards -You can retrieve all custom gift cards by sending a request to the [List Gift Cards API Route](https://docs.medusajs.com/api/admin#gift-cards_getgiftcards): +You can retrieve all custom gift cards by sending a request to the [List Gift Cards API Route](https://docs.medusajs.com/v1/api/admin#gift-cards_getgiftcards): @@ -588,15 +588,15 @@ You can retrieve all custom gift cards by sending a request to the [List Gift Ca -This request doesn't require any parameters. It accepts parameters related to pagination, which you can check out in the [API reference](https://docs.medusajs.com/api/admin#gift-cards_getgiftcards). +This request doesn't require any parameters. It accepts parameters related to pagination, which you can check out in the [API reference](https://docs.medusajs.com/v1/api/admin#gift-cards_getgiftcards). -This request returns an array of `gift_cards` and [pagination fields](https://docs.medusajs.com/api/admin#pagination) in the response. +This request returns an array of `gift_cards` and [pagination fields](https://docs.medusajs.com/v1/api/admin#pagination) in the response. ### Create a Custom Gift Card Merchants can create custom gift cards to send a reward or gift to the customer. -You can create a custom gift card by sending a request to the [Create a Gift Card API Route](https://docs.medusajs.com/api/admin#gift-cards_postgiftcards): +You can create a custom gift card by sending a request to the [Create a Gift Card API Route](https://docs.medusajs.com/v1/api/admin#gift-cards_postgiftcards): @@ -680,7 +680,7 @@ You can create a custom gift card by sending a request to the [Create a Gift Car This request requires the `region_id` body parameter. Its value should be the ID of the region that this gift card can be used in. -It optionally accepts other body parameters, including the `value` parameter, which is the amount of the gift card. You can check the [API reference](https://docs.medusajs.com/api/admin#gift-cards_postgiftcards) for the rest of the body parameters. +It optionally accepts other body parameters, including the `value` parameter, which is the amount of the gift card. You can check the [API reference](https://docs.medusajs.com/v1/api/admin#gift-cards_postgiftcards) for the rest of the body parameters. This request returns the created gift card object in the response. @@ -688,7 +688,7 @@ This request returns the created gift card object in the response. Merchants can update any of the gift card’s properties, except for the value of the gift card. -You can update a gift card by sending a request to the [Update a Gift Card API Route](https://docs.medusajs.com/api/admin#gift-cards_postgiftcardsgiftcard): +You can update a gift card by sending a request to the [Update a Gift Card API Route](https://docs.medusajs.com/v1/api/admin#gift-cards_postgiftcardsgiftcard): @@ -767,13 +767,13 @@ You can update a gift card by sending a request to the [Update a Gift Card API R This request requires the ID of the gift card as a path parameter. It accepts in its body parameters the gift card’s properties that you want to update. -In this example, you update the balance of the gift card. The balance is the remaining amount in the gift card that the customer can use. You can check the [API reference](https://docs.medusajs.com/api/admin#gift-cards_postgiftcardsgiftcard) to learn what other parameters are allowed. +In this example, you update the balance of the gift card. The balance is the remaining amount in the gift card that the customer can use. You can check the [API reference](https://docs.medusajs.com/v1/api/admin#gift-cards_postgiftcardsgiftcard) to learn what other parameters are allowed. This request returns the updated gift card object in the response. ### Delete Custom Gift Card -You can delete a custom gift card by sending a request to the [Delete a Gift Card API Route](https://docs.medusajs.com/api/admin#gift-cards_deletegiftcardsgiftcard): +You can delete a custom gift card by sending a request to the [Delete a Gift Card API Route](https://docs.medusajs.com/v1/api/admin#gift-cards_deletegiftcardsgiftcard): diff --git a/www/apps/docs/content/modules/gift-cards/storefront/use-gift-cards.mdx b/www/apps/docs/content/modules/gift-cards/storefront/use-gift-cards.mdx index 056cc2e2665cd..5b94f5fba7a9a 100644 --- a/www/apps/docs/content/modules/gift-cards/storefront/use-gift-cards.mdx +++ b/www/apps/docs/content/modules/gift-cards/storefront/use-gift-cards.mdx @@ -58,7 +58,7 @@ In addition, this document doesn't cover how to implement checkout functionality Customers should be able to view gift cards before they make the purchase. Gift cards are essentially products like any other. -You can retrieve the gift card product using the [List Products API Route](https://docs.medusajs.com/api/store#products_getproducts), but passing it the `is_giftcard` query parameter: +You can retrieve the gift card product using the [List Products API Route](https://docs.medusajs.com/v1/api/store#products_getproducts), but passing it the `is_giftcard` query parameter: @@ -131,9 +131,9 @@ You can retrieve the gift card product using the [List Products API Route](https The request does not require any parameters. You can pass query parameters to filter the returned products. -You can use the `is_giftcard` query parameter to retrieve only the gift card products by setting its value to `true`. To view other available parameters, check out the [API reference](https://docs.medusajs.com/api/store#products_getproducts) +You can use the `is_giftcard` query parameter to retrieve only the gift card products by setting its value to `true`. To view other available parameters, check out the [API reference](https://docs.medusajs.com/v1/api/store#products_getproducts) -The request returns the `products` array in the response, which holds the gift cards in it, if they're available. It also returns [pagination fields](https://docs.medusajs.com/api/store#pagination). +The request returns the `products` array in the response, which holds the gift cards in it, if they're available. It also returns [pagination fields](https://docs.medusajs.com/v1/api/store#pagination). ### Show Gift Card’s Denominations @@ -147,7 +147,7 @@ The value of each denomination (or variant) is under the `prices` array. If you After the customer purchases the gift card, they’ll receive a code to redeem that gift card. Using that code, the customer can also view the details of that gift card. -You can retrieve the details of a gift card by sending a request to the [Get Gift Card by Code API Route](https://docs.medusajs.com/api/store#gift-cards_getgiftcardscode): +You can retrieve the details of a gift card by sending a request to the [Get Gift Card by Code API Route](https://docs.medusajs.com/v1/api/store#gift-cards_getgiftcardscode): @@ -220,7 +220,7 @@ In the returned gift card object, the following details can be shown to the cust - `balance`: The remaining amount of the gift card. If the customer has previously used the gift card while purchasing an order but not its full value, this field shows how much is remaining in the card. - `ends_at`: The expiry date and time of the gift card. -You can learn what other properties are available in the returned gift card object in the [API reference](https://docs.medusajs.com/api/store#gift-cards_getgiftcardscode). +You can learn what other properties are available in the returned gift card object in the [API reference](https://docs.medusajs.com/v1/api/store#gift-cards_getgiftcardscode). --- @@ -228,7 +228,7 @@ You can learn what other properties are available in the returned gift card obje A customer can redeem more than one gift card during checkout. The cart’s totals will then be adjusted based on the applied gift card. The gift card’s amount isn’t actually used until the order is placed. -You can redeem a gift card during checkout by sending a request to the [Update Cart API Route](https://docs.medusajs.com/api/store#carts_postcartscart): +You can redeem a gift card during checkout by sending a request to the [Update Cart API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscart): diff --git a/www/apps/docs/content/modules/multiwarehouse/admin/manage-inventory-items.mdx b/www/apps/docs/content/modules/multiwarehouse/admin/manage-inventory-items.mdx index 975829dbfd1be..de6e0f3b5ee55 100644 --- a/www/apps/docs/content/modules/multiwarehouse/admin/manage-inventory-items.mdx +++ b/www/apps/docs/content/modules/multiwarehouse/admin/manage-inventory-items.mdx @@ -51,13 +51,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Inventory Items -You can list inventory items by sending a request to the [List Inventory Items API Route](https://docs.medusajs.com/api/admin#inventory-items_getinventoryitems): +You can list inventory items by sending a request to the [List Inventory Items API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_getinventoryitems): @@ -127,7 +127,7 @@ You can list inventory items by sending a request to the [List Inventory Items A -This API Route doesn't require any path or query parameters. You can, however, pass path parameters to search or filter inventory items. For example, you can get inventory items in a specific location by passing the `location_id` query parameter. You can learn more about available query parameters in the [API reference](https://docs.medusajs.com/api/admin#inventory-items_getinventoryitems). +This API Route doesn't require any path or query parameters. You can, however, pass path parameters to search or filter inventory items. For example, you can get inventory items in a specific location by passing the `location_id` query parameter. You can learn more about available query parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#inventory-items_getinventoryitems). This request returns an array of inventory item objects. @@ -141,7 +141,7 @@ Inventory items are automatically created when a variant is created with `manage ::: -You can create an inventory item by sending a request to the [Create Inventory Item API Route](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitems): +You can create an inventory item by sending a request to the [Create Inventory Item API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitems): @@ -216,7 +216,7 @@ You can create an inventory item by sending a request to the [Create Inventory I -This API Route requires in the body parameter the `variant_id` parameter, which is the ID of the variant to create this inventory item for. You can also pass other inventory-related parameters, such as `sku`. You can learn more about other available parameters in the [API reference](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitems). +This API Route requires in the body parameter the `variant_id` parameter, which is the ID of the variant to create this inventory item for. You can also pass other inventory-related parameters, such as `sku`. You can learn more about other available parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitems). This request returns the created inventory item as an object. @@ -224,7 +224,7 @@ This request returns the created inventory item as an object. ## Retrieve Inventory Item -You can retrieve an inventory item by sending a request to the [Get Inventory Item API Route](https://docs.medusajs.com/api/admin#inventory-items_getinventoryitemsinventoryitem): +You can retrieve an inventory item by sending a request to the [Get Inventory Item API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_getinventoryitemsinventoryitem): @@ -291,7 +291,7 @@ You can retrieve an inventory item by sending a request to the [Get Inventory It -This API Route accepts the ID of the inventory item as a path parameter. You can also path query parameters such as [expand](https://docs.medusajs.com/api/admin#expanding-fields) and [fields](https://docs.medusajs.com/api/admin#selecting-fields). +This API Route accepts the ID of the inventory item as a path parameter. You can also path query parameters such as [expand](https://docs.medusajs.com/v1/api/admin#expanding-fields) and [fields](https://docs.medusajs.com/v1/api/admin#selecting-fields). The request returns the inventory item as an object. @@ -299,7 +299,7 @@ The request returns the inventory item as an object. ## Update Inventory Item -You can update an inventory item by sending a request to the [Update Inventory Item API Route](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitemsinventoryitem): +You can update an inventory item by sending a request to the [Update Inventory Item API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitemsinventoryitem): @@ -382,7 +382,7 @@ You can update an inventory item by sending a request to the [Update Inventory I -This API Route requires the inventory item’s ID as a path parameter. You can pass any of the inventory item’s attributes that you want to update in its body parameter. The example above updates the value of the `origin_country` attribute. You can learn more about available body parameters in the [API reference](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitemsinventoryitem). +This API Route requires the inventory item’s ID as a path parameter. You can pass any of the inventory item’s attributes that you want to update in its body parameter. The example above updates the value of the `origin_country` attribute. You can learn more about available body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitemsinventoryitem). The request returns the updated inventory item as an object. @@ -394,7 +394,7 @@ This section shows you the different ways you can manage inventory levels. Each ### List inventory levels -You can list inventory levels of an inventory item by sending a request to the [List inventory levels API Route](https://docs.medusajs.com/api/admin#inventory-items_getinventoryitemsinventoryitemlocationlevels): +You can list inventory levels of an inventory item by sending a request to the [List inventory levels API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_getinventoryitemsinventoryitemlocationlevels): @@ -467,13 +467,13 @@ You can list inventory levels of an inventory item by sending a request to the [ -This API Route requires the ID of the inventory item as a path parameter. You can also pass [expand](https://docs.medusajs.com/api/admin#expanding-fields) and [fields](https://docs.medusajs.com/api/admin#selecting-fields) query parameters. +This API Route requires the ID of the inventory item as a path parameter. You can also pass [expand](https://docs.medusajs.com/v1/api/admin#expanding-fields) and [fields](https://docs.medusajs.com/v1/api/admin#selecting-fields) query parameters. The request returns the inventory item as an object. In that object, the list of inventory levels are available under the property `location_levels`. ### Create Inventory Level -You can create a location level by sending a request to the [Create Inventory Level API Route](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitemsinventoryitemlocationlevels): +You can create a location level by sending a request to the [Create Inventory Level API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitemsinventoryitemlocationlevels): @@ -571,13 +571,13 @@ This API Route requires the inventory item ID as a path parameter. In the reques - `location_id`: The ID of the location associated with this location level. This ID is typically available through using the Stock Location Module. - `stocked_quantity`: A number indicating the item’s quantity in stock. -You can also pass other optional request body parameters, as explained in the [API reference](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitemsinventoryitemlocationlevels). +You can also pass other optional request body parameters, as explained in the [API reference](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitemsinventoryitemlocationlevels). This request returns the inventory item associated with the created location level. ### Update Location Level -You can update a location level by sending a request to the [Update Location Level API Route](https://docs.medusajs.com/api/admin#inventory-items_postinventoryitemsinventoryitemlocationlevelslocationlevel): +You can update a location level by sending a request to the [Update Location Level API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_postinventoryitemsinventoryitemlocationlevelslocationlevel): @@ -676,7 +676,7 @@ The request returns the inventory item associated with the location level as an ### Delete Location Level -You can delete a location level of an inventory item by sending a request to the [Delete Location Level API Route](https://docs.medusajs.com/api/admin#inventory-items_deleteinventoryitemsinventoryitelocationlevelslocation): +You can delete a location level of an inventory item by sending a request to the [Delete Location Level API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_deleteinventoryitemsinventoryitelocationlevelslocation): @@ -754,7 +754,7 @@ The request returns the inventory item as an object. ## Delete Inventory Item -You can delete an inventory item by sending a request to the [Delete Inventory Item API Route](https://docs.medusajs.com/api/admin#inventory-items_deleteinventoryitemsinventoryitem): +You can delete an inventory item by sending a request to the [Delete Inventory Item API Route](https://docs.medusajs.com/v1/api/admin#inventory-items_deleteinventoryitemsinventoryitem): diff --git a/www/apps/docs/content/modules/multiwarehouse/admin/manage-item-allocations-in-orders.mdx b/www/apps/docs/content/modules/multiwarehouse/admin/manage-item-allocations-in-orders.mdx index 348357e6ddcba..88a959967559b 100644 --- a/www/apps/docs/content/modules/multiwarehouse/admin/manage-item-allocations-in-orders.mdx +++ b/www/apps/docs/content/modules/multiwarehouse/admin/manage-item-allocations-in-orders.mdx @@ -62,7 +62,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -76,7 +76,7 @@ In this guide, however, the focus will be on how to use these API Routes for ord Item allocations are created automatically for items that are associated with product variants having the `manage_inventory` attribute enabled. You typically don’t need to create an item allocation, unless you delete the previous item allocation. -You can create an item allocation by sending a request to the [Create a Reservation API Route](https://docs.medusajs.com/api/admin#reservations_postreservations): +You can create an item allocation by sending a request to the [Create a Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_postreservations): @@ -172,7 +172,7 @@ The request returns the created reservation as an object. When listing item allocations, by default, you’ll be retrieving all item allocations in your commerce system. You can, however, provide optional fields to filter the item allocations retrieved. -You can retrieve the item allocations of a line item in an order using the [List Reservations API Route](https://docs.medusajs.com/api/admin#reservations_getreservations): +You can retrieve the item allocations of a line item in an order using the [List Reservations API Route](https://docs.medusajs.com/v1/api/admin#reservations_getreservations): @@ -243,13 +243,13 @@ You can retrieve the item allocations of a line item in an order using the [List -This API Route doesn't require any path or query parameters. As mentioned earlier, you can pass query parameters to filter the reservations. In the code snippets above, you filter the reservations by a line item ID. You can, however, filter by other attributes, such as the ID of the location. You can refer to the [API reference](https://docs.medusajs.com/api/admin#reservations_getreservations) for a full list of query parameters. +This API Route doesn't require any path or query parameters. As mentioned earlier, you can pass query parameters to filter the reservations. In the code snippets above, you filter the reservations by a line item ID. You can, however, filter by other attributes, such as the ID of the location. You can refer to the [API reference](https://docs.medusajs.com/v1/api/admin#reservations_getreservations) for a full list of query parameters. -The request returns the reservations along with [pagination fields](https://docs.medusajs.com/api/admin#pagination). +The request returns the reservations along with [pagination fields](https://docs.medusajs.com/v1/api/admin#pagination). ### Retrieve Item Allocation -You can retrieve a single item allocation by its ID using the [Get a Reservation API Route](https://docs.medusajs.com/api/admin#reservations_getreservationsreservation): +You can retrieve a single item allocation by its ID using the [Get a Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_getreservationsreservation): @@ -319,7 +319,7 @@ The request returns the reservation as an object. ### Update Item Allocation -You can update an item allocation to change the location to allocate from or the quantity to allocate by sending a request to the [Update Reservation API Route](https://docs.medusajs.com/api/admin#reservations_postreservationsreservation): +You can update an item allocation to change the location to allocate from or the quantity to allocate by sending a request to the [Update Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_postreservationsreservation): @@ -414,7 +414,7 @@ The request returns the updated reservation as an object. Deleting an item allocation means that the quantity that was previously reserved is no longer reserved. -You can delete an item allocation by sending a request to the [Delete Reservation API Route](https://docs.medusajs.com/api/admin#reservations_deletereservationsreservation): +You can delete an item allocation by sending a request to the [Delete Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_deletereservationsreservation): @@ -593,7 +593,7 @@ When you create a fulfillment of an order, you can specify the location to fulfi The `location_id` is an optional parameter that allows you to specify where to fulfill the item from. This subsequently decrements the stock quantity of the product variant in that location. -You can learn more about this API Route's parameters and response in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderfulfillments). +You can learn more about this API Route's parameters and response in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderfulfillments). --- @@ -707,7 +707,7 @@ When requesting a return, you can specify the location to return the item to by The `location_id` is an optional parameter that allows you to specify where to return the item to. This subsequently increments the stock quantity of the product variant in that location. -You can learn more about this API Route's parameters and response in [the API reference](https://docs.medusajs.com/api/admin#orders_postordersorderreturns). +You can learn more about this API Route's parameters and response in [the API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderreturns). --- diff --git a/www/apps/docs/content/modules/multiwarehouse/admin/manage-reservations.mdx b/www/apps/docs/content/modules/multiwarehouse/admin/manage-reservations.mdx index 64e26af169d5e..767d57ab65ffb 100644 --- a/www/apps/docs/content/modules/multiwarehouse/admin/manage-reservations.mdx +++ b/www/apps/docs/content/modules/multiwarehouse/admin/manage-reservations.mdx @@ -31,7 +31,7 @@ You want to add or use the following admin functionalities: :::note -You can check the [API reference](https://docs.medusajs.com/api/admin) for all available Reservations API Routes. +You can check the [API reference](https://docs.medusajs.com/v1/api/admin) for all available Reservations API Routes. ::: @@ -63,13 +63,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Reservations -You can list all reservations in your store by sending a request to the [List Reservations API Route](https://docs.medusajs.com/api/admin#reservations_getreservations): +You can list all reservations in your store by sending a request to the [List Reservations API Route](https://docs.medusajs.com/v1/api/admin#reservations_getreservations): @@ -134,9 +134,9 @@ You can list all reservations in your store by sending a request to the [List Re -This API Route doesn't require any query or path parameters. You can pass it query parameters for filtering or pagination purposes. Check out the [API reference](https://docs.medusajs.com/api/admin#reservations_getreservations) for a list of accepted query parameters. +This API Route doesn't require any query or path parameters. You can pass it query parameters for filtering or pagination purposes. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#reservations_getreservations) for a list of accepted query parameters. -This API Route returns an array of reservations along with [pagination parameters](https://docs.medusajs.com/api/admin#pagination). +This API Route returns an array of reservations along with [pagination parameters](https://docs.medusajs.com/v1/api/admin#pagination). --- @@ -148,7 +148,7 @@ Before you create a reservation for a product variant, make sure you’ve create ::: -You can create a reservation by sending a request to the [Create Reservation API Route](https://docs.medusajs.com/api/admin#reservations_postreservations): +You can create a reservation by sending a request to the [Create Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_postreservations): @@ -247,7 +247,7 @@ The request returns the created reservation as an object. ## Update a Reservation -You can update a reservation by sending a request to the [Update Reservation API Route](https://docs.medusajs.com/api/admin#reservations_postreservationsreservation): +You can update a reservation by sending a request to the [Update Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_postreservationsreservation): @@ -340,7 +340,7 @@ The request returns the updated reservation as an object. ## Delete a Reservation -You can delete a reservation by sending a request to the [Delete Reservation API Route](https://docs.medusajs.com/api/admin#reservations_deletereservationsreservation): +You can delete a reservation by sending a request to the [Delete Reservation API Route](https://docs.medusajs.com/v1/api/admin#reservations_deletereservationsreservation): diff --git a/www/apps/docs/content/modules/multiwarehouse/admin/manage-stock-locations.mdx b/www/apps/docs/content/modules/multiwarehouse/admin/manage-stock-locations.mdx index 76c9cb9c9bca7..2c64cf5f449da 100644 --- a/www/apps/docs/content/modules/multiwarehouse/admin/manage-stock-locations.mdx +++ b/www/apps/docs/content/modules/multiwarehouse/admin/manage-stock-locations.mdx @@ -53,13 +53,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Stock Locations -You can list stock locations by using the [List Stock Locations API Route](https://docs.medusajs.com/api/admin#stock-locations_getstocklocations): +You can list stock locations by using the [List Stock Locations API Route](https://docs.medusajs.com/v1/api/admin#stock-locations_getstocklocations): @@ -129,15 +129,15 @@ You can list stock locations by using the [List Stock Locations API Route](https -This API Route doesn't require any path or query parameters. You can, however, pass it query parameters to search or filter the list of stock locations. For example, you can pass the `q` query parameter to search through the locations by name. You can learn about available query parameters in the [API reference](https://docs.medusajs.com/api/admin#stock-locations_getstocklocations). +This API Route doesn't require any path or query parameters. You can, however, pass it query parameters to search or filter the list of stock locations. For example, you can pass the `q` query parameter to search through the locations by name. You can learn about available query parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#stock-locations_getstocklocations). -The request returns an array of stock location objects along with [pagination parameters](https://docs.medusajs.com/api/admin#pagination). +The request returns an array of stock location objects along with [pagination parameters](https://docs.medusajs.com/v1/api/admin#pagination). --- ## Create a Stock Location -You can create a stock location using the [Create a Stock Location API Route](https://docs.medusajs.com/api/admin#stock-locations_poststocklocations): +You can create a stock location using the [Create a Stock Location API Route](https://docs.medusajs.com/v1/api/admin#stock-locations_poststocklocations): @@ -212,7 +212,7 @@ You can create a stock location using the [Create a Stock Location API Route](ht -This API Route requires in its body parameters the `name` field, which is the name of the stock location. You can also pass in the request body parameters other fields related to the address or metadata. You can learn more in the [API reference](https://docs.medusajs.com/api/admin#stock-locations_poststocklocations). +This API Route requires in its body parameters the `name` field, which is the name of the stock location. You can also pass in the request body parameters other fields related to the address or metadata. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/admin#stock-locations_poststocklocations). This request returns the created stock location as an object. @@ -220,7 +220,7 @@ This request returns the created stock location as an object. ## Retrieve a Stock Location -You can retrieve a stock location by sending a request to the [Get Stock Location API Route](https://docs.medusajs.com/api/admin#stock-locations_getstocklocationsstocklocation): +You can retrieve a stock location by sending a request to the [Get Stock Location API Route](https://docs.medusajs.com/v1/api/admin#stock-locations_getstocklocationsstocklocation): @@ -287,7 +287,7 @@ You can retrieve a stock location by sending a request to the [Get Stock Locatio -This API Route requires the stock location ID to be passed as a path parameter. It also accepts query parameters related to expanding and selecting fields. You can learn more in the [API reference](https://docs.medusajs.com/api/admin#stock-locations_getstocklocationsstocklocation). +This API Route requires the stock location ID to be passed as a path parameter. It also accepts query parameters related to expanding and selecting fields. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/admin#stock-locations_getstocklocationsstocklocation). It returns the stock location as an object. @@ -295,7 +295,7 @@ It returns the stock location as an object. ## Associate a Stock Location with a Sales Channel -You can associate a stock location with a sales channel by sending a request to the [Associate Stock Channel API Route](https://docs.medusajs.com/api/admin#sales-channels_postsaleschannelssaleschannelstocklocation): +You can associate a stock location with a sales channel by sending a request to the [Associate Stock Channel API Route](https://docs.medusajs.com/v1/api/admin#sales-channels_postsaleschannelssaleschannelstocklocation): @@ -393,7 +393,7 @@ You can associate a location with more than one sales channel, and you can assoc ## Remove Association Between Stock Location and Sales Channel -You can remove the association between a stock location and a sales channel by sending a request to the [Remove Stock Location Association API Route](https://docs.medusajs.com/api/admin#sales-channels_deletesaleschannelssaleschannelstocklocation): +You can remove the association between a stock location and a sales channel by sending a request to the [Remove Stock Location Association API Route](https://docs.medusajs.com/v1/api/admin#sales-channels_deletesaleschannelssaleschannelstocklocation): @@ -495,7 +495,7 @@ This request does not delete the stock location. It only removes the association ## Update a Stock Location -You can update a stock location by sending a request to the [Update Stock Location API Route](https://docs.medusajs.com/api/admin#stock-locations_poststocklocationsstocklocation): +You can update a stock location by sending a request to the [Update Stock Location API Route](https://docs.medusajs.com/v1/api/admin#stock-locations_poststocklocationsstocklocation): @@ -578,7 +578,7 @@ You can update a stock location by sending a request to the [Update Stock Locati -This API Route requires the ID of a stock location as a path parameter. In its body parameters, you can pass any of the location’s attributes to update, such as the name or address. You can learn more in the [API reference](https://docs.medusajs.com/api/admin#stock-locations_poststocklocationsstocklocation). +This API Route requires the ID of a stock location as a path parameter. In its body parameters, you can pass any of the location’s attributes to update, such as the name or address. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/admin#stock-locations_poststocklocationsstocklocation). This request returns the updated stock location as an object. @@ -586,7 +586,7 @@ This request returns the updated stock location as an object. ## Delete a Stock Location -You can delete a stock location by sending a request to the [Delete Stock Location API Route](https://docs.medusajs.com/api/admin#stock-locations_deletestocklocationsstocklocation): +You can delete a stock location by sending a request to the [Delete Stock Location API Route](https://docs.medusajs.com/v1/api/admin#stock-locations_deletestocklocationsstocklocation): diff --git a/www/apps/docs/content/modules/orders/admin/edit-order.mdx b/www/apps/docs/content/modules/orders/admin/edit-order.mdx index 46806306a49cd..8dc4d2b88fc65 100644 --- a/www/apps/docs/content/modules/orders/admin/edit-order.mdx +++ b/www/apps/docs/content/modules/orders/admin/edit-order.mdx @@ -40,7 +40,7 @@ You want to add or use the following admin functionalities related to Order Edit :::note -You can perform other functionalities related to order editing. To learn more, check out the [API reference](https://docs.medusajs.com/api/admin#order-edits). +You can perform other functionalities related to order editing. To learn more, check out the [API reference](https://docs.medusajs.com/v1/api/admin#order-edits). ::: @@ -68,7 +68,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). ### Previous Steps @@ -80,7 +80,7 @@ You must have an existing order that you want to edit. Before you can start making changes to an order, you have to create a new order edit. -To do that, send a request to the [Create an OrderEdit API Route](https://docs.medusajs.com/api/admin#order-edits_postorderedits): +To do that, send a request to the [Create an OrderEdit API Route](https://docs.medusajs.com/v1/api/admin#order-edits_postorderedits): @@ -178,7 +178,7 @@ You can only make changes to items that have not been fulfilled yet in the order ### Add an Item -To add a new item to the original order, send a request to the [Add Line Item API Route](https://docs.medusajs.com/api/admin#order-edits_postordereditseditlineitems): +To add a new item to the original order, send a request to the [Add Line Item API Route](https://docs.medusajs.com/v1/api/admin#order-edits_postordereditseditlineitems): @@ -273,7 +273,7 @@ This request returns the Order Edit object. You can access returned item changes You can edit an item’s quantity in the original order. -To update an item, send a request to the [Update Line Item API Route](https://docs.medusajs.com/api/admin#order-edits_postordereditseditlineitemslineitem): +To update an item, send a request to the [Update Line Item API Route](https://docs.medusajs.com/v1/api/admin#order-edits_postordereditseditlineitemslineitem): @@ -362,7 +362,7 @@ This request returns the Order Edit object. You can access returned item changes ### Remove an Item -You can remove an item from the original order by sending a request to the [Remove Line Item API Route](https://docs.medusajs.com/api/admin#order-edits_deleteordereditsordereditlineitemslineitem): +You can remove an item from the original order by sending a request to the [Remove Line Item API Route](https://docs.medusajs.com/v1/api/admin#order-edits_deleteordereditsordereditlineitemslineitem): @@ -445,7 +445,7 @@ This request returns the Order Edit object. You can access returned item changes A merchant might make a mistake while making a change to the original order’s items. Using the Admin API, you can revert item changes previously created. -To revert an item change, send a request to the [Delete Item Change API Route](https://docs.medusajs.com/api/admin#order-edits_deleteordereditsorderedititemchange): +To revert an item change, send a request to the [Delete Item Change API Route](https://docs.medusajs.com/v1/api/admin#order-edits_deleteordereditsorderedititemchange): @@ -530,7 +530,7 @@ This request returns an object with the following properties: After an Order Edit is created and all the item changes are added, it must be moved into the request state. -To move an Order Edit into the request state, send a request to the [Request Confirmation API Route](https://docs.medusajs.com/api/admin#order-edits_postordereditsordereditrequest): +To move an Order Edit into the request state, send a request to the [Request Confirmation API Route](https://docs.medusajs.com/v1/api/admin#order-edits_postordereditsordereditrequest): @@ -637,7 +637,7 @@ When the merchant force-confirms the order edit, however, it bypasses the paymen This section covers how the Admin API can be used to force-confirm the Order Edit. You can refer to [this documentation to learn how to implement Order Edit confirmation on the storefront](../storefront/handle-order-edits.mdx). -To confirm an Order Edit, send a request to the [Confirm Order Edit API Route](https://docs.medusajs.com/api/admin#order-edits_postordereditsordereditconfirm): +To confirm an Order Edit, send a request to the [Confirm Order Edit API Route](https://docs.medusajs.com/v1/api/admin#order-edits_postordereditsordereditconfirm): @@ -733,7 +733,7 @@ You can learn how to allow customers to authorize payment on the storefront in [ ### Capture Payment -If the payment is authorized by the customer, it can be captured by sending a request to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentcapture): +If the payment is authorized by the customer, it can be captured by sending a request to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentcapture): @@ -808,7 +808,7 @@ It returns in the response the full Payment object. When the total after the order edit is less than the original order total, the merchant can refund the difference to the customer. -To refund the difference to the customer, send a request to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds): +To refund the difference to the customer, send a request to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds): @@ -916,7 +916,7 @@ The `reason` request body parameter is also required. Its value is a string that :::note -Check out what other parameters can be sent in the [API reference](https://docs.medusajs.com/api/admin#payments_postpaymentspaymentrefunds). +Check out what other parameters can be sent in the [API reference](https://docs.medusajs.com/v1/api/admin#payments_postpaymentspaymentrefunds). ::: diff --git a/www/apps/docs/content/modules/orders/admin/manage-claims.mdx b/www/apps/docs/content/modules/orders/admin/manage-claims.mdx index be38917c28b5f..73401fa9ab820 100644 --- a/www/apps/docs/content/modules/orders/admin/manage-claims.mdx +++ b/www/apps/docs/content/modules/orders/admin/manage-claims.mdx @@ -52,13 +52,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## View Order’s Claims -To view an order’s claims, you can retrieve the order using the [Get Order API Route](https://docs.medusajs.com/api/admin#orders_getordersorder) and access the order’s claims: +To view an order’s claims, you can retrieve the order using the [Get Order API Route](https://docs.medusajs.com/v1/api/admin#orders_getordersorder) and access the order’s claims: @@ -137,7 +137,7 @@ The request returns the order as an object. In that object, you can access an ar ## Create Claim -You can create a claim by sending a request to the [Create Claim API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaims): +You can create a claim by sending a request to the [Create Claim API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaims): @@ -249,7 +249,7 @@ In the request body, the following parameters are required: - `item_id`: a string indicating the ID of the line item in the order. - `quantity`: a number indicating the quantity of the claim. -There are other optional parameters that you can pass. You can also pass a return reason for each of the claim items. You can learn about the optional request body parameters in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderclaims). +There are other optional parameters that you can pass. You can also pass a return reason for each of the claim items. You can learn about the optional request body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaims). :::note @@ -263,7 +263,7 @@ The request returns the updated order as an object. You can access the order’s ## Update a Claim -You can update a claim by sending a request to the [Update Claim API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaim): +You can update a claim by sending a request to the [Update Claim API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaim): @@ -363,7 +363,7 @@ Fulfillments are available on a claim object under the `fulfillments` property, ### Create Fulfillment -You can create a fulfillment for a claim by sending a request to the [Create Claim Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaimfulfillments): +You can create a fulfillment for a claim by sending a request to the [Create Claim Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaimfulfillments): @@ -436,13 +436,13 @@ You can create a fulfillment for a claim by sending a request to the [Create Cla This API Route requires the order and claim IDs as path parameters. -In the request body, you can pass optional parameters such as `metadata` or `no_notification`. These parameters will be used to create the fulfillment. You can learn more about available request body parameters in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaimfulfillments). +In the request body, you can pass optional parameters such as `metadata` or `no_notification`. These parameters will be used to create the fulfillment. You can learn more about available request body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaimfulfillments). The request returns the updated order as an object. You can access the order’s claims using the `claims` property of the order object. The value of the `claims` property is an array of claim objects. ### Create a Shipment -You can create a shipment for a claim by sending a request to the [Create Claim Shipment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaimshipments): +You can create a shipment for a claim by sending a request to the [Create Claim Shipment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaimshipments): @@ -527,7 +527,7 @@ You can create a shipment for a claim by sending a request to the [Create Claim This API Route requires the order and claim IDs as path parameters. -In the request body, it’s required to pass the `fulfillment_id` parameter, which is the ID of the fulfillment the shipment is being created for. You can pass other optional parameters, such as an array of tracking numbers. You can learn more in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaimshipments). +In the request body, it’s required to pass the `fulfillment_id` parameter, which is the ID of the fulfillment the shipment is being created for. You can pass other optional parameters, such as an array of tracking numbers. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaimshipments). The request returns the updated order as an object. As mentioned before, a claim’s fulfillments can be accessed using the `fulfillments` property of a claim object. You can access the shipments, known as tracking links, of a fulfillment using the `tracking_links` property of a fulfillment object. The value of `tracking_links` is an array of tracking link objects. @@ -543,7 +543,7 @@ You can’t cancel a fulfillment that has a shipment ::: -You can cancel a fulfillment by sending a request to the [Cancel Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersclaimfulfillmentscancel): +You can cancel a fulfillment by sending a request to the [Cancel Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersclaimfulfillmentscancel): @@ -636,7 +636,7 @@ You can’t cancel a claim that has been refunded. You must also cancel the clai ::: -You can cancel a claim by sending a request to the [Cancel Claim API Route](https://docs.medusajs.com/api/admin#orders_postordersclaimcancel): +You can cancel a claim by sending a request to the [Cancel Claim API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersclaimcancel): diff --git a/www/apps/docs/content/modules/orders/admin/manage-draft-orders.mdx b/www/apps/docs/content/modules/orders/admin/manage-draft-orders.mdx index 89519186c27a7..20f0e60379768 100644 --- a/www/apps/docs/content/modules/orders/admin/manage-draft-orders.mdx +++ b/www/apps/docs/content/modules/orders/admin/manage-draft-orders.mdx @@ -46,13 +46,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Draft Orders -You can list draft orders by sending a request to the [List Draft Orders API Route](https://docs.medusajs.com/api/admin#draft-orders_getdraftorders): +You can list draft orders by sending a request to the [List Draft Orders API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_getdraftorders): @@ -117,15 +117,15 @@ You can list draft orders by sending a request to the [List Draft Orders API Rou -This API Route doesn't require any path or query parameters. You can pass search or pagination query parameters as explained in the [API reference](https://docs.medusajs.com/api/admin#draft-orders_getdraftorders). +This API Route doesn't require any path or query parameters. You can pass search or pagination query parameters as explained in the [API reference](https://docs.medusajs.com/v1/api/admin#draft-orders_getdraftorders). -The request returns an array of draft order objects along with [pagination parameters](https://docs.medusajs.com/api/admin#pagination). +The request returns an array of draft order objects along with [pagination parameters](https://docs.medusajs.com/v1/api/admin#pagination). --- ## Create a Draft Order -You can create a draft order by sending a request to the [Create Draft Order API Route](https://docs.medusajs.com/api/admin#draft-orders_postdraftorders): +You can create a draft order by sending a request to the [Create Draft Order API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftorders): @@ -284,7 +284,7 @@ You can also pass other optional parameters. For example, the `items` array can You must also pass for each item its quantity. -To learn about other optional request body parameters, such as passing shipping or billing addresses, check out the [API reference](https://docs.medusajs.com/api/admin#draft-orders_postdraftorders). +To learn about other optional request body parameters, such as passing shipping or billing addresses, check out the [API reference](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftorders). The request returns the created draft order as an object. @@ -292,7 +292,7 @@ The request returns the created draft order as an object. ## Retrieve Draft Order -You can retrieve a draft order by sending a request to the [Get Draft Order API Route](https://docs.medusajs.com/api/admin#draft-orders_getdraftordersdraftorder): +You can retrieve a draft order by sending a request to the [Get Draft Order API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_getdraftordersdraftorder): @@ -364,7 +364,7 @@ The request returns the draft order as an object. ## Update Draft Order -You can update a draft order by sending a request to the [Update Draft Order API Route](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorder): +You can update a draft order by sending a request to the [Update Draft Order API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorder): @@ -447,7 +447,7 @@ You can update a draft order by sending a request to the [Update Draft Order API This API Route requires the draft order’s ID as a path parameter. -In the request body, you can pass any of the draft order’s fields to update. In the example above, you update the `email` field. Check out the [API reference](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorder) to learn about other accepted request body parameters. +In the request body, you can pass any of the draft order’s fields to update. In the example above, you update the `email` field. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorder) to learn about other accepted request body parameters. The request returns the updated draft order as an object. @@ -457,7 +457,7 @@ The request returns the updated draft order as an object. ### Add Line Items -You can add line items to a draft order by sending a request to the [Create Line Items API Route](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorderlineitems): +You can add line items to a draft order by sending a request to the [Create Line Items API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorderlineitems): @@ -549,13 +549,13 @@ There are two types of items that you can add: 1. Defined product variants. This is done by passing the `variant_id` parameter, with its value being the ID of the product variant to add. 2. Custom products that aren’t defined in your store. This is done by passing the `unit_price` parameter with its value being the price of the custom product, and the `title` property with its value being the title of the custom product. -Check the [API reference](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorderlineitems) for a full list of request body parameters. +Check the [API reference](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorderlineitems) for a full list of request body parameters. The request returns the updated draft order as an object. You can access the draft order’s items by accessing the `carts` property in the draft item, then the `items` property. The `items` property is an array of line item objects. ### Update Line Item -You can update a line item by sending a request to the [Update Line Item API Route](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorderlineitemsitem): +You can update a line item by sending a request to the [Update Line Item API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorderlineitemsitem): @@ -640,13 +640,13 @@ You can update a line item by sending a request to the [Update Line Item API Rou This API Route requires the draft order and line item’s IDs as path parameters. -In the request body, you can pass any of the line item’s fields as parameters to update them. In the example above, you pass the `quantity` parameter to update the quantity of the item. Check out the [API reference](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorderlineitemsitem) for a full list of request body parameters. +In the request body, you can pass any of the line item’s fields as parameters to update them. In the example above, you pass the `quantity` parameter to update the quantity of the item. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorderlineitemsitem) for a full list of request body parameters. The request returns the updated draft order as an object. You can access the draft order’s items by accessing the `carts` property in the draft item, then the `items` property. The `items` property is an array of line item objects. ### Delete Line Item -You can delete a line item by sending a request to the [Delete Line Item API Route](https://docs.medusajs.com/api/admin#draft-orders_deletedraftordersdraftorderlineitemsitem): +You can delete a line item by sending a request to the [Delete Line Item API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_deletedraftordersdraftorderlineitemsitem): @@ -721,7 +721,7 @@ The request returns the updated draft order as an object. You can access the dra Registering the draft order’s payment leads to authorizing and capturing the payment using the `system` payment method. This would complete the draft order and create an order from it. -You can register the draft order payment by sending a request to the [Register Draft Order Payment API Route](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorderregisterpayment): +You can register the draft order payment by sending a request to the [Register Draft Order Payment API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorderregisterpayment): @@ -796,7 +796,7 @@ The request returns the order created from the draft order as an object. ## Delete a Draft Order -You can delete a draft order by sending a request to the [Delete Draft Order API Route](https://docs.medusajs.com/api/admin#draft-orders_deletedraftordersdraftorder): +You can delete a draft order by sending a request to the [Delete Draft Order API Route](https://docs.medusajs.com/v1/api/admin#draft-orders_deletedraftordersdraftorder): diff --git a/www/apps/docs/content/modules/orders/admin/manage-orders.mdx b/www/apps/docs/content/modules/orders/admin/manage-orders.mdx index 83bd68fd17b40..cc61100bbcd13 100644 --- a/www/apps/docs/content/modules/orders/admin/manage-orders.mdx +++ b/www/apps/docs/content/modules/orders/admin/manage-orders.mdx @@ -54,13 +54,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Orders -You can list orders by sending a request to the [List Orders API Route](https://docs.medusajs.com/api/admin#orders_getorders): +You can list orders by sending a request to the [List Orders API Route](https://docs.medusajs.com/v1/api/admin#orders_getorders): @@ -125,11 +125,11 @@ You can list orders by sending a request to the [List Orders API Route](https:// This API Route doesn't require any path parameters. You can pass it query parameters to filter the orders received. -The request returns an array of orders along with [pagination fields](https://docs.medusajs.com/api/admin#pagination). +The request returns an array of orders along with [pagination fields](https://docs.medusajs.com/v1/api/admin#pagination). ### Filter Orders -This API Route accepts a variety of query parameters that allow you to filter orders. You can check available query parameters in the [API reference](https://docs.medusajs.com/api/admin#orders_getorders). +This API Route accepts a variety of query parameters that allow you to filter orders. You can check available query parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_getorders). For example, you can filter the orders by one or more status: @@ -380,7 +380,7 @@ You can also combine filters together: ## Retrieve an Order -You can retrieve an order by sending a request to the [Get an Order API Route](https://docs.medusajs.com/api/admin#orders_getordersorder): +You can retrieve an order by sending a request to the [Get an Order API Route](https://docs.medusajs.com/v1/api/admin#orders_getordersorder): @@ -465,7 +465,7 @@ Updating an order’s details can include updating its: - Shipping Method - `no_notification` property -You can update any of the above details of an order by sending a request to the [Update an Order API Route](https://docs.medusajs.com/api/admin#orders_postordersorder): +You can update any of the above details of an order by sending a request to the [Update an Order API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorder): @@ -549,7 +549,7 @@ You can update any of the above details of an order by sending a request to the This API Route requires the order’s ID to be passed as a path parameter. -In the request body parameters, you can pass any of the order’s fields mentioned earlier that you want to update. In the example above, you edit the email associated with the order. You can learn about other available request body parameters in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorder). +In the request body parameters, you can pass any of the order’s fields mentioned earlier that you want to update. In the example above, you edit the email associated with the order. You can learn about other available request body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorder). The request returns the updated order as an object. @@ -559,7 +559,7 @@ The request returns the updated order as an object. ### Capture an Order’s Payment -You can capture an order’s payment by sending a request to the [Capture Order’s Payment API Route](https://docs.medusajs.com/api/admin#orders_postordersordercapture): +You can capture an order’s payment by sending a request to the [Capture Order’s Payment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersordercapture): @@ -634,7 +634,7 @@ The request returns the updated order as an object. You can refund an amount that is less than `order.refundable_amount`. -To refund payment, send a request to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderrefunds): +To refund payment, send a request to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderrefunds): @@ -729,7 +729,7 @@ The following parameters are required in the request body parameters: - `amount`: a number indicating the amount to refund. - `reason`: a string indicating why the refund is being issued. -You can also add other optional body parameters, as explained in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderrefunds). +You can also add other optional body parameters, as explained in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderrefunds). The request returns the updated order as an object. @@ -739,7 +739,7 @@ The request returns the updated order as an object. ### Create a Fulfillment -You can create a fulfillment by sending a request to the [Create a Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderfulfillments): +You can create a fulfillment by sending a request to the [Create a Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderfulfillments): @@ -852,13 +852,13 @@ Each object in the array must have the following properties: - `item_id`: a string indicating the ID of the item to fulfill. - `quantity`: a number indicating the quantity to fulfill. -You can also pass other optional request body parameters as explained in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderfulfillments). +You can also pass other optional request body parameters as explained in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderfulfillments). The request returns the updated order as an object. ### Create Shipment -You can create a shipment for a fulfillment by sending a request to the [Create Shipment API Route](https://docs.medusajs.com/api/admin#orders_postordersordershipment): +You can create a shipment for a fulfillment by sending a request to the [Create Shipment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersordershipment): @@ -943,13 +943,13 @@ You can create a shipment for a fulfillment by sending a request to the [Create This API Route requires passing the order’s ID as a path parameter. -In the request body, the `fulfillment_id` parameter is required. Its value is the ID of the fulfillment to create the shipment for. You can also pass other optional body parameters as explained in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersordershipment). +In the request body, the `fulfillment_id` parameter is required. Its value is the ID of the fulfillment to create the shipment for. You can also pass other optional body parameters as explained in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersordershipment). The request returns the updated order as an object. ### Cancel Fulfillment -You can cancel a fulfillment by sending a request to the [Cancel Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderfulfillmentscancel): +You can cancel a fulfillment by sending a request to the [Cancel Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderfulfillmentscancel): @@ -1028,7 +1028,7 @@ The request returns the updated order as an object. ## Completing an Order -You can mark an order completed, changing its status, by sending a request to the [Complete an Order API Route](https://docs.medusajs.com/api/admin#orders_postordersordercomplete): +You can mark an order completed, changing its status, by sending a request to the [Complete an Order API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersordercomplete): @@ -1103,7 +1103,7 @@ The request returns the updated order as an object. ## Cancel an Order -You can cancel an order by sending a request to the [Cancel Order API Route](https://docs.medusajs.com/api/admin#orders_postordersordercancel): +You can cancel an order by sending a request to the [Cancel Order API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersordercancel): @@ -1178,7 +1178,7 @@ The request returns the updated order as an object. ## Archive Order -You can archive an order by sending a request to the [Archive Order API Route](https://docs.medusajs.com/api/admin#orders_postordersorderarchive): +You can archive an order by sending a request to the [Archive Order API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderarchive): diff --git a/www/apps/docs/content/modules/orders/admin/manage-returns.mdx b/www/apps/docs/content/modules/orders/admin/manage-returns.mdx index a947319a149ee..77c00e4342c81 100644 --- a/www/apps/docs/content/modules/orders/admin/manage-returns.mdx +++ b/www/apps/docs/content/modules/orders/admin/manage-returns.mdx @@ -47,7 +47,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -57,7 +57,7 @@ Return reasons allow you to specify why an item is returned. They are especially ### List Return Reasons -You can list available return reasons using the [List Return Reasons API Route](https://docs.medusajs.com/api/admin#return-reasons_getreturnreasons): +You can list available return reasons using the [List Return Reasons API Route](https://docs.medusajs.com/v1/api/admin#return-reasons_getreturnreasons): @@ -130,7 +130,7 @@ The request returns an array of return reason objects. ### Create a Return Reason -You can create a return reason using the [Create Return Reason API Route](https://docs.medusajs.com/api/admin#return-reasons_postreturnreasons): +You can create a return reason using the [Create Return Reason API Route](https://docs.medusajs.com/v1/api/admin#return-reasons_postreturnreasons): @@ -217,13 +217,13 @@ This API Route requires the following request body parameters: - `label`: a string that will be used as the label of the return reason. This is typically the label shown to the customer or the merchant. - `value`: a string that is unique among return reasons. It is typically used internally for identification -You can also pass other optional request body parameters, such as a `description` parameter or a `parent_return_reason_id` if this return reason is a child of another. You can learn more about available optional request body parameters in the [API reference](https://docs.medusajs.com/api/admin#return-reasons_postreturnreasons). +You can also pass other optional request body parameters, such as a `description` parameter or a `parent_return_reason_id` if this return reason is a child of another. You can learn more about available optional request body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#return-reasons_postreturnreasons). This request returns the created return reason as an object. ### Update a Return Reason -You can update a return reason by sending a request to the [Update Return Reason API Route](https://docs.medusajs.com/api/admin#return-reasons_postreturnreasonsreason): +You can update a return reason by sending a request to the [Update Return Reason API Route](https://docs.medusajs.com/v1/api/admin#return-reasons_postreturnreasonsreason): @@ -314,7 +314,7 @@ The request returns the updated return reason as an object. ### Delete a Return Reason -You can delete a return reason by sending a request to the [Delete Return Reason API Route](https://docs.medusajs.com/api/admin#return-reasons_deletereturnreason): +You can delete a return reason by sending a request to the [Delete Return Reason API Route](https://docs.medusajs.com/v1/api/admin#return-reasons_deletereturnreason): @@ -395,11 +395,11 @@ The request returns the following fields: :::note -You can view all returns in your commerce system, regardless of which order they belong to, using the [List Returns API Route](https://docs.medusajs.com/api/admin#return-reasons_getreturnreasons). +You can view all returns in your commerce system, regardless of which order they belong to, using the [List Returns API Route](https://docs.medusajs.com/v1/api/admin#return-reasons_getreturnreasons). ::: -When you retrieve an order using the [Get Order API Route](https://docs.medusajs.com/api/admin#orders_getordersorder), you can access the returns within the order object: +When you retrieve an order using the [Get Order API Route](https://docs.medusajs.com/v1/api/admin#orders_getordersorder), you can access the returns within the order object: @@ -478,7 +478,7 @@ The request returns the order as an object. In that object, you can access an ar ## View a Swap’s Return -You can retrieve a swap either using the Get Order API Route as explained [here](./manage-swaps.mdx#view-orders-swaps), or using the [List Swaps](https://docs.medusajs.com/api/admin#swaps_getswaps) or [Get Swap](https://docs.medusajs.com/api/admin#swaps_getswapsswap) API Routes. +You can retrieve a swap either using the Get Order API Route as explained [here](./manage-swaps.mdx#view-orders-swaps), or using the [List Swaps](https://docs.medusajs.com/v1/api/admin#swaps_getswaps) or [Get Swap](https://docs.medusajs.com/v1/api/admin#swaps_getswapsswap) API Routes. In a swap object, the swap’s return is available under the `return_order` property. @@ -492,7 +492,7 @@ You can retrieve a claim using the Get Order API Route as explained [here](./man ## Mark a Return as Received -You can mark a return as received by sending a request to the [Receive a Return API Route](https://docs.medusajs.com/api/admin#returns_postreturnsreturnreceive): +You can mark a return as received by sending a request to the [Receive a Return API Route](https://docs.medusajs.com/v1/api/admin#returns_postreturnsreturnreceive): @@ -614,7 +614,7 @@ A received return can’t be canceled. ::: -You can cancel a return by sending a request to the [Cancel Return API Route](https://docs.medusajs.com/api/admin#returns_postreturnsreturncancel): +You can cancel a return by sending a request to the [Cancel Return API Route](https://docs.medusajs.com/v1/api/admin#returns_postreturnsreturncancel): diff --git a/www/apps/docs/content/modules/orders/admin/manage-swaps.mdx b/www/apps/docs/content/modules/orders/admin/manage-swaps.mdx index 95d7bd22c26aa..8d5566b557f6a 100644 --- a/www/apps/docs/content/modules/orders/admin/manage-swaps.mdx +++ b/www/apps/docs/content/modules/orders/admin/manage-swaps.mdx @@ -53,7 +53,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -61,11 +61,11 @@ You can learn more about [authenticating as an admin user in the API reference]( :::note -If you want to view all swaps in your system, and not swaps specific to an order, you can use the [List Swaps API Route](https://docs.medusajs.com/api/admin#swaps_getswaps) instead. +If you want to view all swaps in your system, and not swaps specific to an order, you can use the [List Swaps API Route](https://docs.medusajs.com/v1/api/admin#swaps_getswaps) instead. ::: -You can view an order’s swaps by retrieving the order using the [Get Order API Route](https://docs.medusajs.com/api/admin#orders_getordersorder): +You can view an order’s swaps by retrieving the order using the [Get Order API Route](https://docs.medusajs.com/v1/api/admin#orders_getordersorder): @@ -145,7 +145,7 @@ The request returns the order as an object. The order’s swaps are available un Processing a swap’s payment can mean either refunding or capturing payment, depending on the value of `difference_due` of the swap. If the `difference_due` is less than 0, then the payment should be refunded. If it’s greater than 0, then the payment should be captured. If it’s 0, no payment processing is performed. -Regardless of whether you need to refund or capture the payment, you can process the swap’s payment by sending a request to the [Process Swap Payment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapprocesspayment): +Regardless of whether you need to refund or capture the payment, you can process the swap’s payment by sending a request to the [Process Swap Payment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapprocesspayment): @@ -232,7 +232,7 @@ Fulfillments are available on a swap object under the `fulfillments` property, w ### Create a Fulfillment -You can create a fulfillment for a swap by sending a request to the [Create Swap Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapfulfillments): +You can create a fulfillment for a swap by sending a request to the [Create Swap Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapfulfillments): @@ -310,13 +310,13 @@ You can create a fulfillment for a swap by sending a request to the [Create Swap This API Route requires the order ID and swap ID as path parameters. -In the request body, you can pass optional parameters such as `metadata` or `no_notification`. These parameters will be used to create the fulfillment. You can learn more about available request body parameters in the [API reference](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapfulfillments). +In the request body, you can pass optional parameters such as `metadata` or `no_notification`. These parameters will be used to create the fulfillment. You can learn more about available request body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapfulfillments). The request returns the updated order as an object. You can access the order’s swaps in the `swaps` property, which is an array of swap objects. ### Create a Shipment -You can create a shipment for a swap’s fulfillment using the [Create Swap Shipment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapshipments): +You can create a shipment for a swap’s fulfillment using the [Create Swap Shipment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapshipments): @@ -408,7 +408,7 @@ You can create a shipment for a swap’s fulfillment using the [Create Swap Ship This API Route expects the order and swap IDs to be passed as path parameters. -In the request body, it’s required to pass the `fulfillment_id` parameter, which is the ID of the fulfillment the shipment is being created for. You can pass other optional parameters, such as an array of tracking numbers. You can learn more in the [API reference](https://docs.medusajs.com/api/admin#tag/Orders/operation/PostOrdersOrderSwapsSwapShipments). +In the request body, it’s required to pass the `fulfillment_id` parameter, which is the ID of the fulfillment the shipment is being created for. You can pass other optional parameters, such as an array of tracking numbers. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/admin#tag/Orders/operation/PostOrdersOrderSwapsSwapShipments). The request returns the updated order as an object. As mentioned before, a swap’s fulfillments can be accessed using the `fulfillments` property of a swap object. You can access the shipments, known as tracking links, of a fulfillment using the `tracking_links` property of a fulfillment object. The value of `tracking_links` is an array of tracking link objects. @@ -424,7 +424,7 @@ You can’t cancel a fulfillment that has a shipment ::: -You can cancel a fulfillment by sending a request to the [Cancel Swap Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersswapfulfillmentscancel): +You can cancel a fulfillment by sending a request to the [Cancel Swap Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersswapfulfillmentscancel): @@ -518,7 +518,7 @@ You can’t cancel a swap that has been refunded. You must also cancel all swap ::: -You can cancel a swap by sending a request to the [Cancel Swap API Route](https://docs.medusajs.com/api/admin#orders_postordersswapcancel): +You can cancel a swap by sending a request to the [Cancel Swap API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersswapcancel): diff --git a/www/apps/docs/content/modules/orders/claims.md b/www/apps/docs/content/modules/orders/claims.md index 9bf0d60fa7541..934678b8c18c7 100644 --- a/www/apps/docs/content/modules/orders/claims.md +++ b/www/apps/docs/content/modules/orders/claims.md @@ -32,11 +32,11 @@ There are other important attributes discussed in later sections. Check out the Claims are created in Medusa by an admin (typically a merchant). They are created on an order, and depending on the claim’s type the admin can specify details like the amount to be refunded, or the items to be returned and the new items to replace them. -You can create a claim either using the [Create Claim API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaims) or using the `ClaimService`'s [create method](../../references/services/classes/services.ClaimService.mdx#create). This section explains the process within the Create Claim API Route, with a focus on the `create` method. +You can create a claim either using the [Create Claim API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaims) or using the `ClaimService`'s [create method](../../references/services/classes/services.ClaimService.mdx#create). This section explains the process within the Create Claim API Route, with a focus on the `create` method. ### Idempotency Key -An Idempotency Key is a unique key associated with a claim. It is generated when the claim creation process is started by the admin using the [Create Claim API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaims) and can be used to retry the claim creation safely if an error occurs. The idempotency key is stored in the `ClaimOrder` entity in the attribute `idempotency_key`. +An Idempotency Key is a unique key associated with a claim. It is generated when the claim creation process is started by the admin using the [Create Claim API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaims) and can be used to retry the claim creation safely if an error occurs. The idempotency key is stored in the `ClaimOrder` entity in the attribute `idempotency_key`. You can learn more about idempotency keys [here](../../development/idempotency-key/overview.mdx). @@ -63,7 +63,7 @@ The following flow is implemented within the Create Claim API Route: If a claim’s type is `replace`, an admin can create a [fulfillment](./fulfillments.md) for the additional items that should be sent to the customer. -A fulfillment can be created either using the [Create Claim Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaimfulfillments) or the `ClaimService`'s [createFulfillment method](../../references/services/classes/services.ClaimService.mdx#createfulfillment). +A fulfillment can be created either using the [Create Claim Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaimfulfillments) or the `ClaimService`'s [createFulfillment method](../../references/services/classes/services.ClaimService.mdx#createfulfillment). :::note @@ -73,9 +73,9 @@ The API Route handles updating the inventory and reservations. So, if you choose By default, when a fulfillment is created, the claim’s `fulfillment_status` is set to `fulfilled`. However, if any of the item’s quantity isn’t fulfilled successfully, the `fulfillment_status` is set to `requires_action`. -After creating a fulfillment, you can create a shipment for the fulfillment either using the [Create Claim Shipment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderclaimsclaimshipments) or the `ClaimService`'s [createShipment method](../../references/services/classes/services.ClaimService.mdx#createshipment). If only some of the items and their quantities are shipped, the `fulfillment_status` of the claim is set to `partially_shipped`. Otherwise, if all items and quantities are shipped, the `fulfillment_status` of the claim is set to `shipped`. +After creating a fulfillment, you can create a shipment for the fulfillment either using the [Create Claim Shipment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderclaimsclaimshipments) or the `ClaimService`'s [createShipment method](../../references/services/classes/services.ClaimService.mdx#createshipment). If only some of the items and their quantities are shipped, the `fulfillment_status` of the claim is set to `partially_shipped`. Otherwise, if all items and quantities are shipped, the `fulfillment_status` of the claim is set to `shipped`. -You can alternatively cancel a fulfillment either using the [Cancel Claim Fulfillment API Route](https://docs.medusajs.com/api/admin#tag/Orders/operation/PostOrdersClaimFulfillmentsCancel) or the `ClaimService`'s [cancelFulfillment method](../../references/services/classes/services.ClaimService.mdx#cancelfulfillment). This would change the `fulfillment_status` of the claim to `canceled`. +You can alternatively cancel a fulfillment either using the [Cancel Claim Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#tag/Orders/operation/PostOrdersClaimFulfillmentsCancel) or the `ClaimService`'s [cancelFulfillment method](../../references/services/classes/services.ClaimService.mdx#cancelfulfillment). This would change the `fulfillment_status` of the claim to `canceled`. --- @@ -87,7 +87,7 @@ A claim's return can be marked as received, which would adjust the inventory and ## Cancel a Claim -An admin can cancel a claim if it hasn’t been refunded either using the [Cancel Claim API Route](https://docs.medusajs.com/api/admin#orders_postordersclaimcancel) or the `ClaimService`'s [cancel method](../../references/services/classes/services.ClaimService.mdx#cancel). +An admin can cancel a claim if it hasn’t been refunded either using the [Cancel Claim API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersclaimcancel) or the `ClaimService`'s [cancel method](../../references/services/classes/services.ClaimService.mdx#cancel). If any fulfillments were created, they must be canceled first. Similarly, if the claim is associated with a return, the return must be canceled first. diff --git a/www/apps/docs/content/modules/orders/draft-orders.md b/www/apps/docs/content/modules/orders/draft-orders.md index 87ef1a3ccd009..32d68ba45482f 100644 --- a/www/apps/docs/content/modules/orders/draft-orders.md +++ b/www/apps/docs/content/modules/orders/draft-orders.md @@ -32,7 +32,7 @@ There are other important attributes discussed in later sections. Check out the ## How Draft Orders Work -You have full freedom in how you choose to implement creating draft orders. This section explains how it’s created in the Medusa backend using the [Create Draft Order](https://docs.medusajs.com/api/admin#draft-orders_postdraftorders) and [Register Payment](https://docs.medusajs.com/api/admin#draft-orders_postdraftordersdraftorderregisterpayment) API Routes. +You have full freedom in how you choose to implement creating draft orders. This section explains how it’s created in the Medusa backend using the [Create Draft Order](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftorders) and [Register Payment](https://docs.medusajs.com/v1/api/admin#draft-orders_postdraftordersdraftorderregisterpayment) API Routes. A draft order is created using the `DraftOrderService`'s [create method](../../references/services/classes/services.DraftOrderService.mdx#create). Within that method, a cart is created along with it. The cart is used to store the order’s details, such as the draft order’s items, shipping options, and more. The cart has the type `draft_order`. diff --git a/www/apps/docs/content/modules/orders/orders.md b/www/apps/docs/content/modules/orders/orders.md index fc3bfbb4a9760..185dd83bedea8 100644 --- a/www/apps/docs/content/modules/orders/orders.md +++ b/www/apps/docs/content/modules/orders/orders.md @@ -110,7 +110,7 @@ If you have tax-inclusive pricing enabled, you can learn about other available t ::: -The order’s totals are retrieved by default in all the order’s [store](https://docs.medusajs.com/api/store#orders) and [admin](https://docs.medusajs.com/api/admin#orders) APIs. +The order’s totals are retrieved by default in all the order’s [store](https://docs.medusajs.com/v1/api/store#orders) and [admin](https://docs.medusajs.com/v1/api/admin#orders) APIs. --- @@ -132,7 +132,7 @@ A merchant may also choose to force the edit on the order, by-passing the custom Although this process is implemented in this flow within the Medusa backend, there is no requirement for you to actually follow it. For example, you can allow the customer or a third-party service to create and manage the order edit. -The Medusa backend provides the [order edit admin APIs](https://docs.medusajs.com/api/admin#order-edits), but you can also use the [OrderEditService](../../references/services/classes/services.OrderEditService.mdx) to perform the same functionalities in a custom flow. +The Medusa backend provides the [order edit admin APIs](https://docs.medusajs.com/v1/api/admin#order-edits), but you can also use the [OrderEditService](../../references/services/classes/services.OrderEditService.mdx) to perform the same functionalities in a custom flow. Order edits are represented by the `OrderEdit` entity. This entity is linked to the order through the `order_id` attribute. You can access an order’s edits by expanding the `edits` relation and accessing `order.edits`. Notice that an order can have multiple edits during its lifecycle, but it can’t have more than one ongoing edit. @@ -179,7 +179,7 @@ Medusa provides the necessary infrastructure and tooling that allows automating - Swap: Swap an item with another. This involves returning the original item from the customer and shipping a new item to the customer. - Claim: Allow a customer to refund or replace an item in their order if it’s faulty or for other reasons. -The Medusa backend facilitates automating these flows by allowing the customer to submit a [return](https://docs.medusajs.com/api/store#returns_postreturns) or [swap](https://docs.medusajs.com/api/store#swaps_postswaps) requests through the store APIs. The merchant can then review and handle these requests. This eliminates the need for the customer to perform the same action through customer support or other means. +The Medusa backend facilitates automating these flows by allowing the customer to submit a [return](https://docs.medusajs.com/v1/api/store#returns_postreturns) or [swap](https://docs.medusajs.com/v1/api/store#swaps_postswaps) requests through the store APIs. The merchant can then review and handle these requests. This eliminates the need for the customer to perform the same action through customer support or other means. You can also integrate these flows within bigger processes that trigger requesting or creating these flows. It can be done through core APIs, [custom API Routes](../../development/api-routes/overview.mdx), or [custom services](../../development/services/overview.mdx). You can also listen to events related to orders such as [Order](../../development/events/events-list.md#order-events) or [Swap](../../development/events/events-list.md#swap-events) events with [subscribers](../../development/events/subscribers.mdx) to perform asynchronous actions. diff --git a/www/apps/docs/content/modules/orders/overview.mdx b/www/apps/docs/content/modules/orders/overview.mdx index 14ace0f1d4e16..1464af4ef34a6 100644 --- a/www/apps/docs/content/modules/orders/overview.mdx +++ b/www/apps/docs/content/modules/orders/overview.mdx @@ -144,7 +144,7 @@ Admins can create draft orders that don’t require involvement from a customer. }, { type: 'link', - href: 'https://docs.medusajs.com/api/admin#draft-orders_getdraftorders', + href: 'https://docs.medusajs.com/v1/api/admin#draft-orders_getdraftorders', label: 'Admin APIs: Draft Orders', customProps: { icon: Icons['server-solid'], @@ -234,7 +234,7 @@ Customers can also request to return or swap items. This allows for implementing }, { type: 'link', - href: 'https://docs.medusajs.com/api/store#returns', + href: 'https://docs.medusajs.com/v1/api/store#returns', label: 'Storefront APIs: Returns', customProps: { icon: Icons['server-solid'], diff --git a/www/apps/docs/content/modules/orders/returns.md b/www/apps/docs/content/modules/orders/returns.md index af364c7abddd3..39e7c01bf8ee5 100644 --- a/www/apps/docs/content/modules/orders/returns.md +++ b/www/apps/docs/content/modules/orders/returns.md @@ -63,7 +63,7 @@ After this process, the return will be available for the merchant or the admin t Marking a return as received would refund the amount to the customer and adjust the store’s inventory for the returned items. -The following process occurs within the [Receive Return admin API Route](https://docs.medusajs.com/api/admin#returns_postreturnsreturnreceive): +The following process occurs within the [Receive Return admin API Route](https://docs.medusajs.com/v1/api/admin#returns_postreturnsreturnreceive): ![Receive Return Process Flowchart](https://res.cloudinary.com/dza7lstvk/image/upload/v1681996834/Medusa%20Docs/Diagrams/return-admin-process_e99skk.jpg) @@ -79,7 +79,7 @@ The following process occurs within the [Receive Return admin API Route](https:/ ### Cancel a Return -The merchant can cancel a return if it hasn’t be marked as `received` before. This can be done either using the `ReturnService`'s [cancel method](../../references/services/classes/services.ReturnService.mdx#cancel) or using the [Cancel Return API Route](https://docs.medusajs.com/api/admin#returns_postreturnsreturncancel). +The merchant can cancel a return if it hasn’t be marked as `received` before. This can be done either using the `ReturnService`'s [cancel method](../../references/services/classes/services.ReturnService.mdx#cancel) or using the [Cancel Return API Route](https://docs.medusajs.com/v1/api/admin#returns_postreturnsreturncancel). Canceling a return would change its status to canceled. diff --git a/www/apps/docs/content/modules/orders/storefront/create-return.mdx b/www/apps/docs/content/modules/orders/storefront/create-return.mdx index 7608860f9708f..5ed266784d23c 100644 --- a/www/apps/docs/content/modules/orders/storefront/create-return.mdx +++ b/www/apps/docs/content/modules/orders/storefront/create-return.mdx @@ -57,7 +57,7 @@ When a customer wants to create a return, they must choose the items they want t ### Showing Return Shipping Options -You can optionally allow customers to choose a return shipping option that they’ll use to return the items. To show the customers the available return shipping options, send a request to the Get [Shipping Options API Route](https://docs.medusajs.com/api/store#shipping-options_getshippingoptions): +You can optionally allow customers to choose a return shipping option that they’ll use to return the items. To show the customers the available return shipping options, send a request to the Get [Shipping Options API Route](https://docs.medusajs.com/v1/api/store#shipping-options_getshippingoptions): @@ -121,7 +121,7 @@ You can optionally allow customers to choose a return shipping option that they -This API Route allows you to pass the `is_return` query parameter to indicate whether the shipping options should be return shipping options. You can learn about other available filters in the [API reference](https://docs.medusajs.com/api/store#shipping-options_getshippingoptions). +This API Route allows you to pass the `is_return` query parameter to indicate whether the shipping options should be return shipping options. You can learn about other available filters in the [API reference](https://docs.medusajs.com/v1/api/store#shipping-options_getshippingoptions). The request returns an array of shipping option objects. @@ -129,7 +129,7 @@ The request returns an array of shipping option objects. ## Step 2: Create Return -You can create the return by sending a request to the [Create Return API Route](https://docs.medusajs.com/api/store#returns_postreturns): +You can create the return by sending a request to the [Create Return API Route](https://docs.medusajs.com/v1/api/store#returns_postreturns): diff --git a/www/apps/docs/content/modules/orders/storefront/create-swap.mdx b/www/apps/docs/content/modules/orders/storefront/create-swap.mdx index dc5cbff657d04..312bc4b56772b 100644 --- a/www/apps/docs/content/modules/orders/storefront/create-swap.mdx +++ b/www/apps/docs/content/modules/orders/storefront/create-swap.mdx @@ -60,7 +60,7 @@ You can optionally allow customers to choose a return shipping option that they ## Step 2: Create the Swap -After collecting the swap details in step 1, you can create a swap in the Medusa backend by sending a request to the [Create Swap API Route](https://docs.medusajs.com/api/store#swaps_postswaps): +After collecting the swap details in step 1, you can create a swap in the Medusa backend by sending a request to the [Create Swap API Route](https://docs.medusajs.com/v1/api/store#swaps_postswaps): @@ -192,7 +192,7 @@ When you complete the cart, the returned `type` field can be used to indicate th ### Retrieve Swap by Cart ID -During your checkout flow, you might need to retrieve the swap using the cart’s ID. For example, if you want to display the swap’s details after the cart is successfully completed. You can do that using the [Get by Cart ID API Route](https://docs.medusajs.com/api/store#swaps_getswapsswapcartid): +During your checkout flow, you might need to retrieve the swap using the cart’s ID. For example, if you want to display the swap’s details after the cart is successfully completed. You can do that using the [Get by Cart ID API Route](https://docs.medusajs.com/v1/api/store#swaps_getswapsswapcartid): diff --git a/www/apps/docs/content/modules/orders/storefront/handle-order-edits.mdx b/www/apps/docs/content/modules/orders/storefront/handle-order-edits.mdx index 85530357514b3..cf74872ad70ed 100644 --- a/www/apps/docs/content/modules/orders/storefront/handle-order-edits.mdx +++ b/www/apps/docs/content/modules/orders/storefront/handle-order-edits.mdx @@ -70,7 +70,7 @@ You must have an existing order edit in the “request” state. ## Retrieve an Order Edit -You can retrieve a single order edit by its ID by sending a request to the [Get Order Edit API Route](https://docs.medusajs.com/api/store#order-edits_getordereditsorderedit): +You can retrieve a single order edit by its ID by sending a request to the [Get Order Edit API Route](https://docs.medusajs.com/v1/api/store#order-edits_getordereditsorderedit): @@ -138,7 +138,7 @@ It returns the Order Edit as an object. Some of its important fields are: :::note -You can learn more about what fields to expect in the [API reference](https://docs.medusajs.com/api/store#order-edits_getordereditsorderedit). +You can learn more about what fields to expect in the [API reference](https://docs.medusajs.com/v1/api/store#order-edits_getordereditsorderedit). ::: @@ -206,14 +206,14 @@ If `difference_due` is less than 0, then the amount will be refunded to the cust :::note -This section explains how to authorize the payment using one payment processor and payment session. However, payment collections allow customers to pay in installments or with more than one provider. You can learn more about how to do that using the [batch routes of the Payment APIs](https://docs.medusajs.com/api/store#payment-collections_postpaymentcollectionssessionsbatchauthorize) +This section explains how to authorize the payment using one payment processor and payment session. However, payment collections allow customers to pay in installments or with more than one provider. You can learn more about how to do that using the [batch routes of the Payment APIs](https://docs.medusajs.com/v1/api/store#payment-collections_postpaymentcollectionssessionsbatchauthorize) ::: If `difference_due` is greater than 0, then additional payment from the customer is required. In this case, you must implement these steps to allow the customer to authorize the payment: -1. Show the customer the available payment processors. These can be retrieved from the details of [the region of the order](https://docs.medusajs.com/api/store#regions_getregions). -2. When the customer selects the payment processor, initialize the payment session of that provider in the payment collection. You can do that by sending a request to the [Manage Payment Sessions API Route](https://docs.medusajs.com/api/store#payment-collections_postpaymentcollectionspaymentcollectionsessionsbatch), passing it the payment collection’s ID as a path parameter, and the payment processor's ID as a request body parameter: +1. Show the customer the available payment processors. These can be retrieved from the details of [the region of the order](https://docs.medusajs.com/v1/api/store#regions_getregions). +2. When the customer selects the payment processor, initialize the payment session of that provider in the payment collection. You can do that by sending a request to the [Manage Payment Sessions API Route](https://docs.medusajs.com/v1/api/store#payment-collections_postpaymentcollectionspaymentcollectionsessionsbatch), passing it the payment collection’s ID as a path parameter, and the payment processor's ID as a request body parameter: @@ -292,7 +292,7 @@ If `difference_due` is greater than 0, then additional payment from the customer 1. Show the customer the payment details form based on the payment session’s provider. For example, if the provider ID of a payment session is `stripe`, you must show Stripe’s card component to enter the customer’s card details. -2. Authorize the payment using the payment processor. The [Authorize Payment Session API Route](https://docs.medusajs.com/api/store#payment-collections_postpaymentcollectionssessionssessionauthorize) accepts the payment collection’s ID and the ID of the payment session as path parameters: +2. Authorize the payment using the payment processor. The [Authorize Payment Session API Route](https://docs.medusajs.com/v1/api/store#payment-collections_postpaymentcollectionssessionssessionauthorize) accepts the payment collection’s ID and the ID of the payment session as path parameters: @@ -370,7 +370,7 @@ After performing the above steps, you can [complete the Order Edit](#complete-th ## Complete the Order Edit -To confirm and complete the order edit, send a request to the [Complete Order Edit API Route](https://docs.medusajs.com/api/store#order-edits_postordereditsordereditcomplete): +To confirm and complete the order edit, send a request to the [Complete Order Edit API Route](https://docs.medusajs.com/v1/api/store#order-edits_postordereditsordereditcomplete): diff --git a/www/apps/docs/content/modules/orders/storefront/implement-claim-order.mdx b/www/apps/docs/content/modules/orders/storefront/implement-claim-order.mdx index 5df9b22831649..70352314e632e 100644 --- a/www/apps/docs/content/modules/orders/storefront/implement-claim-order.mdx +++ b/www/apps/docs/content/modules/orders/storefront/implement-claim-order.mdx @@ -69,7 +69,7 @@ You can learn how to implement this flow in [this documentation](../backend/hand It is assumed you already have an order placed by a guest customer. You can refer to the [Cart](../../carts-and-checkout/storefront/implement-cart) and [Checkout](../../carts-and-checkout/storefront/implement-checkout-flow.mdx) implementation documentation to learn how to implement them in your storefront. -In addition, it is assumed you already have a logged-in customer before performing the steps in this document. You can refer to the [API reference](https://docs.medusajs.com/api/store#auth_postauth) for more details on that. +In addition, it is assumed you already have a logged-in customer before performing the steps in this document. You can refer to the [API reference](https://docs.medusajs.com/v1/api/store#auth_postauth) for more details on that. --- diff --git a/www/apps/docs/content/modules/orders/storefront/retrieve-order-details.mdx b/www/apps/docs/content/modules/orders/storefront/retrieve-order-details.mdx index 108ca704bed11..3bc1ebcf1d6bd 100644 --- a/www/apps/docs/content/modules/orders/storefront/retrieve-order-details.mdx +++ b/www/apps/docs/content/modules/orders/storefront/retrieve-order-details.mdx @@ -36,7 +36,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus Retrieving an order by its ID is useful for different scenarios, such as using an order details page. You can use this method for both logged in and guest customers. -You can retrieve an order by its ID using the [Get Order API Route](https://docs.medusajs.com/api/store#orders_getordersorder): +You can retrieve an order by its ID using the [Get Order API Route](https://docs.medusajs.com/v1/api/store#orders_getordersorder): @@ -92,7 +92,7 @@ You can retrieve an order by its ID using the [Get Order API Route](https://docs -This API Route requires the order’s ID to be passed as a path parameter. You can utilize the [expand](https://docs.medusajs.com/api/store#expanding-fields) and [fields](https://docs.medusajs.com/api/store#selecting-fields) query parameters to select parameters and relations to return. +This API Route requires the order’s ID to be passed as a path parameter. You can utilize the [expand](https://docs.medusajs.com/v1/api/store#expanding-fields) and [fields](https://docs.medusajs.com/v1/api/store#selecting-fields) query parameters to select parameters and relations to return. The request returns the order as an object. @@ -102,7 +102,7 @@ The request returns the order as an object. Display IDs allow you to show human-readable IDs to your customers. Retrieving an order by its display ID is useful in many situations, such as allowing customers to look up their orders with a search field. This method of retrieving an order can be used for both logged-in customers and guest customers. -You can retrieve an order by its display ID using the [Look Up Order API Route](https://docs.medusajs.com/api/store#orders_getorders): +You can retrieve an order by its display ID using the [Look Up Order API Route](https://docs.medusajs.com/v1/api/store#orders_getorders): @@ -175,7 +175,7 @@ This API Route requires two query parameters: - `display_id`: a string indicating display ID of the order. If you already have an order object, you can retrieve the display ID using `order.display_id`. - `email`: a string indicating the email associated with the order. -You can pass other query parameters to filter the orders even further, and the API Route will return the first order that matches the filters. Learn more about available query parameters in the [API reference](https://docs.medusajs.com/api/store#orders_getorders). +You can pass other query parameters to filter the orders even further, and the API Route will return the first order that matches the filters. Learn more about available query parameters in the [API reference](https://docs.medusajs.com/v1/api/store#orders_getorders). The request returns the order as an object. @@ -185,7 +185,7 @@ The request returns the order as an object. In certain scenarios, you may need to retrieve an order’s details using the ID of the cart associated with the order. This can be useful when showing a success page after a cart is completed and an order is placed. -You can retrieve an order by the cart ID using the [Get by Cart ID API Route](https://docs.medusajs.com/api/store#orders_getordersordercartid): +You can retrieve an order by the cart ID using the [Get by Cart ID API Route](https://docs.medusajs.com/v1/api/store#orders_getordersordercartid): diff --git a/www/apps/docs/content/modules/orders/swaps.md b/www/apps/docs/content/modules/orders/swaps.md index c325d0a4708a0..9b3b8cc933a4d 100644 --- a/www/apps/docs/content/modules/orders/swaps.md +++ b/www/apps/docs/content/modules/orders/swaps.md @@ -69,7 +69,7 @@ This is all made possible since the swap is linked to a cart, so the same checko After the swap has been created and completed by the customer, the merchant can then process the payment of the swap. This includes either refunding or capturing an additional payment, which is decided by the value of the `difference_due` attribute as explained in the [Swap Entity section](#swap-entity-overview). -The processing of the swap’s payment can be done either using the `SwapService`'s [processDifference method](../../references/services/classes/services.SwapService.mdx#processdifference), or using the [Process Swap Payment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapprocesspayment). +The processing of the swap’s payment can be done either using the `SwapService`'s [processDifference method](../../references/services/classes/services.SwapService.mdx#processdifference), or using the [Process Swap Payment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapprocesspayment). If the swap requires any additional payment, the customer is expected to have authorized the payment during the [swap and cart completion flow explained earlier](#how-are-swaps-created). The merchant can then capture the payment and the `payment_status` of the swap is set to `captured`. @@ -89,9 +89,9 @@ Although you have freedom in how you implement the process, the recommended proc ![Swap Fulfillment Flowchart](https://res.cloudinary.com/dza7lstvk/image/upload/v1681984933/Medusa%20Docs/Diagrams/swap-fulfillment-process_xfurko.jpg) -1. The fulfillment is created either using the `SwapService`'s [createFulfillment method](../../references/services/classes/services.SwapService.mdx#createfulfillment) or using the [Create a Swap Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapfulfillments). This would set the `fulfillment_status` of the swap either to `fulfilled` if all items have been fulfilled, or `partially_fulfilled` if only some items were fulfilled. -2. The shipment can then be created using the `SwapService`'s [createShipment method](../../references/services/classes/services.SwapService.mdx#createshipment) or using the [Create Swap Shipment API Route](https://docs.medusajs.com/api/admin#orders_postordersorderswapsswapshipments). This would set the `fulfillment_status` of the swap either to `shipped` if all items have been shipped, or `partially_shipped` if only some items were shipped. -3. Alternatively, a fulfillment can be canceled after it has been created using the `SwapService`'s [cancelFulfillment method](../../references/services/classes/services.SwapService.mdx#cancelfulfillment) or using the [Cancel Swap’s Fulfillment API Route](https://docs.medusajs.com/api/admin#orders_postordersswapfulfillmentscancel). This would set the `fulfillment_status` of the swap to `canceled`. +1. The fulfillment is created either using the `SwapService`'s [createFulfillment method](../../references/services/classes/services.SwapService.mdx#createfulfillment) or using the [Create a Swap Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapfulfillments). This would set the `fulfillment_status` of the swap either to `fulfilled` if all items have been fulfilled, or `partially_fulfilled` if only some items were fulfilled. +2. The shipment can then be created using the `SwapService`'s [createShipment method](../../references/services/classes/services.SwapService.mdx#createshipment) or using the [Create Swap Shipment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersorderswapsswapshipments). This would set the `fulfillment_status` of the swap either to `shipped` if all items have been shipped, or `partially_shipped` if only some items were shipped. +3. Alternatively, a fulfillment can be canceled after it has been created using the `SwapService`'s [cancelFulfillment method](../../references/services/classes/services.SwapService.mdx#cancelfulfillment) or using the [Cancel Swap’s Fulfillment API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersswapfulfillmentscancel). This would set the `fulfillment_status` of the swap to `canceled`. A swap’s fulfillments can be accessed by expanding the `fulfillments` relation and accessing `swap.fulfillments`. A fulfillment is represented by the `Fulfillment` entity. @@ -105,7 +105,7 @@ A swap's return can be marked as received, which would adjust the inventory and ## Canceling a Swap -A swap can be canceled by the merchant if necessary. It can be done either through the `SwapService`'s [cancel method](../../references/services/classes/services.SwapService.mdx#cancel) or the [Cancel Swap API Route](https://docs.medusajs.com/api/admin#orders_postordersswapcancel). +A swap can be canceled by the merchant if necessary. It can be done either through the `SwapService`'s [cancel method](../../references/services/classes/services.SwapService.mdx#cancel) or the [Cancel Swap API Route](https://docs.medusajs.com/v1/api/admin#orders_postordersswapcancel). A swap can’t be canceled if: diff --git a/www/apps/docs/content/modules/price-lists/admin/_import-prices.mdx b/www/apps/docs/content/modules/price-lists/admin/_import-prices.mdx index 090829e032dde..dfb16e8c10f50 100644 --- a/www/apps/docs/content/modules/price-lists/admin/_import-prices.mdx +++ b/www/apps/docs/content/modules/price-lists/admin/_import-prices.mdx @@ -13,7 +13,7 @@ In this document, you’ll learn how to bulk import prices into a price list usi ## Overview -Using Medusa’s [Batch Job Admin APIs](https://docs.medusajs.com/api/admin#batch-jobs), you can import prices into a price list. +Using Medusa’s [Batch Job Admin APIs](https://docs.medusajs.com/v1/api/admin#batch-jobs), you can import prices into a price list. :::warning @@ -130,13 +130,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). ### Created Price List Before importing the prices, you must have a price list to import them to. -You can use the [Create Price List API Route](https://docs.medusajs.com/api/admin#price-lists_postpricelistspricelist), or follow the [how-to guide to learn how to create and manage price lists using the Admin API](./manage-price-lists.mdx). +You can use the [Create Price List API Route](https://docs.medusajs.com/v1/api/admin#price-lists_postpricelistspricelist), or follow the [how-to guide to learn how to create and manage price lists using the Admin API](./manage-price-lists.mdx). --- @@ -144,7 +144,7 @@ You can use the [Create Price List API Route](https://docs.medusajs.com/api/admi The first step is to upload the CSV file to import prices from. -You can do that by sending the following request to the [Upload Files API Route](https://docs.medusajs.com/api/admin#uploads_postuploads): +You can do that by sending the following request to the [Upload Files API Route](https://docs.medusajs.com/v1/api/admin#uploads_postuploads): @@ -218,7 +218,7 @@ This request returns an array of uploads. Each item in the array is an object th To start a new price import, you must create a batch job. -You can do that by sending the following request to the [Create a Batch Job API Route](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobs): +You can do that by sending the following request to the [Create a Batch Job API Route](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobs): @@ -503,4 +503,4 @@ After confirming the batch job, you can check the status while it is processing ## See Also - [Batch Jobs Overview](../../../development/batch-jobs/index.mdx) -- [Batch Jobs API Reference](https://docs.medusajs.com/api/admin#batch-jobs) +- [Batch Jobs API Reference](https://docs.medusajs.com/v1/api/admin#batch-jobs) diff --git a/www/apps/docs/content/modules/price-lists/admin/manage-price-lists.mdx b/www/apps/docs/content/modules/price-lists/admin/manage-price-lists.mdx index 7638c4dab1495..a19b53a811af8 100644 --- a/www/apps/docs/content/modules/price-lists/admin/manage-price-lists.mdx +++ b/www/apps/docs/content/modules/price-lists/admin/manage-price-lists.mdx @@ -38,7 +38,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -224,7 +224,7 @@ For example, sending the following request creates a price list with two prices: This request returns the created price list. -You can check the full list of request body parameters in the [API reference](https://docs.medusajs.com/api/admin#price-lists_postpricelistspricelist). +You can check the full list of request body parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#price-lists_postpricelistspricelist). --- @@ -299,7 +299,7 @@ You can retrieve all of a price list’s details using the Get a Price List API ## Update a Price List -After creating a price list, you can update all of its fields including its status, prices, and more using the [Update Price List API Route](https://docs.medusajs.com/api/admin#price-lists_postpricelistspricelistpricelist). +After creating a price list, you can update all of its fields including its status, prices, and more using the [Update Price List API Route](https://docs.medusajs.com/v1/api/admin#price-lists_postpricelistspricelistpricelist). For example, by sending the following request the end date of the price list will be updated: @@ -386,7 +386,7 @@ For example, by sending the following request the end date of the price list wil This request returns the updated price list. -For a full list of request body parameters, check out the [API reference](https://docs.medusajs.com/api/admin#price-lists_postpricelistspricelistpricelist). +For a full list of request body parameters, check out the [API reference](https://docs.medusajs.com/v1/api/admin#price-lists_postpricelistspricelistpricelist). --- @@ -394,7 +394,7 @@ For a full list of request body parameters, check out the [API reference](https: ### Add Prices -You can add prices to your price list after creating it using the [Update Prices API Route](https://docs.medusajs.com/api/admin#price-lists_postpricelistspricelistpricesbatch). +You can add prices to your price list after creating it using the [Update Prices API Route](https://docs.medusajs.com/v1/api/admin#price-lists_postpricelistspricelistpricesbatch). You can also set the `override` request body parameter to `true` to replace the existing prices in the price list. @@ -507,11 +507,11 @@ For example, sending the following request adds a new price to the price list: This request returns the price list with the updated prices. -For a full list of request body parameters, check out the [API reference](https://docs.medusajs.com/api/admin#price-lists_postpricelistspricelistpricesbatch). +For a full list of request body parameters, check out the [API reference](https://docs.medusajs.com/v1/api/admin#price-lists_postpricelistspricelistpricesbatch). ### Delete a Product’s Prices -You can delete all the prices of a product’s variants using the [Delete Product Prices API Route](https://docs.medusajs.com/api/admin#price-lists_deletepricelistspricelistpricesbatch): +You can delete all the prices of a product’s variants using the [Delete Product Prices API Route](https://docs.medusajs.com/v1/api/admin#price-lists_deletepricelistspricelistpricesbatch): @@ -597,7 +597,7 @@ This request returns the IDs of the deleted prices. ### Delete a Variant’s Prices -You can delete all the prices of a variant using the [Delete Variant Prices API Route](https://docs.medusajs.com/api/admin#price-lists_deletepricelistspricelistvariantsvariantprices): +You can delete all the prices of a variant using the [Delete Variant Prices API Route](https://docs.medusajs.com/v1/api/admin#price-lists_deletepricelistspricelistvariantsvariantprices): @@ -685,7 +685,7 @@ This request returns the IDs of the deleted prices. ## Delete Price List -You can delete a price list, and subsequently all prices defined in it, using the [Delete Price List API Route](https://docs.medusajs.com/api/admin#price-lists_deletepricelistspricelist): +You can delete a price list, and subsequently all prices defined in it, using the [Delete Price List API Route](https://docs.medusajs.com/v1/api/admin#price-lists_deletepricelistspricelist): diff --git a/www/apps/docs/content/modules/price-lists/price-lists.md b/www/apps/docs/content/modules/price-lists/price-lists.md index dc77ea29307aa..53ae118361a8a 100644 --- a/www/apps/docs/content/modules/price-lists/price-lists.md +++ b/www/apps/docs/content/modules/price-lists/price-lists.md @@ -61,7 +61,7 @@ The original price depends on the selected region or currency code in the curren The calculated price is the lowest price among all retrieved prices. Retrieved prices can include the original price and the price lists that can be applied. Prices are retrieved based on the provided context, such as region ID or currency code. -In the [Get Product](https://docs.medusajs.com/api/store#products_getproductsproduct) and [List Product](https://docs.medusajs.com/api/store#products_getproducts) API Routes, you must pass either the `region_id` or `currency_code` to retrieve the correct prices, as they are part of the price selection strategy context. +In the [Get Product](https://docs.medusajs.com/v1/api/store#products_getproductsproduct) and [List Product](https://docs.medusajs.com/v1/api/store#products_getproducts) API Routes, you must pass either the `region_id` or `currency_code` to retrieve the correct prices, as they are part of the price selection strategy context. Each variant in the response has the following properties: diff --git a/www/apps/docs/content/modules/products/admin/import-products.mdx b/www/apps/docs/content/modules/products/admin/import-products.mdx index d37fc27b6b224..692b8b65d9184 100644 --- a/www/apps/docs/content/modules/products/admin/import-products.mdx +++ b/www/apps/docs/content/modules/products/admin/import-products.mdx @@ -12,7 +12,7 @@ In this document, you’ll learn how to use the Admin APIs to bulk import produc ## Overview -Using Medusa’s [Batch Job Admin APIs](https://docs.medusajs.com/api/admin#batch-jobs_getbatchjobs), you can import products into your Medusa backend. This will either add new products or update existing products. +Using Medusa’s [Batch Job Admin APIs](https://docs.medusajs.com/v1/api/admin#batch-jobs_getbatchjobs), you can import products into your Medusa backend. This will either add new products or update existing products. --- @@ -858,7 +858,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -866,7 +866,7 @@ You can learn more about [authenticating as an admin user in the API reference]( The first step is to upload the CSV file that you want to import products. -You can do that by sending the following request to the [Upload Files API Route](https://docs.medusajs.com/api/admin#uploads_postuploads): +You can do that by sending the following request to the [Upload Files API Route](https://docs.medusajs.com/v1/api/admin#uploads_postuploads): @@ -945,7 +945,7 @@ Where `` is a full path to the file. For example, `/Users/medusa/pr To start a new product import, you must create a batch job. -You can do that by sending the following request to the [Create a Batch Job API Route](https://docs.medusajs.com/api/admin#batch-jobs_postbatchjobs): +You can do that by sending the following request to the [Create a Batch Job API Route](https://docs.medusajs.com/v1/api/admin#batch-jobs_postbatchjobs): diff --git a/www/apps/docs/content/modules/products/admin/manage-categories.mdx b/www/apps/docs/content/modules/products/admin/manage-categories.mdx index 5dea8d1947dd5..ae23b2323c03a 100644 --- a/www/apps/docs/content/modules/products/admin/manage-categories.mdx +++ b/www/apps/docs/content/modules/products/admin/manage-categories.mdx @@ -45,13 +45,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Categories -You can retrieve available categories by sending a request to the [List Categories API Route](https://docs.medusajs.com/api/admin#product-categories_getproductcategories): +You can retrieve available categories by sending a request to the [List Categories API Route](https://docs.medusajs.com/v1/api/admin#product-categories_getproductcategories): @@ -123,15 +123,15 @@ You can retrieve available categories by sending a request to the [List Categori -This request returns an array of product categories, as well as [pagination fields](https://docs.medusajs.com/api/admin#pagination). +This request returns an array of product categories, as well as [pagination fields](https://docs.medusajs.com/v1/api/admin#pagination). -You can also pass filters and other selection query parameters to the request. Check out the [API reference](https://docs.medusajs.com/api/admin#product-categories_getproductcategories) for more details on available query parameters. +You can also pass filters and other selection query parameters to the request. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#product-categories_getproductcategories) for more details on available query parameters. --- ## Create a Category -You can create a category by sending a request to the [Create a Category API Route](https://docs.medusajs.com/api/admin#product-categories_postproductcategories): +You can create a category by sending a request to the [Create a Category API Route](https://docs.medusajs.com/v1/api/admin#product-categories_postproductcategories): @@ -221,7 +221,7 @@ The request returns the newly created product category. ## Retrieve a Category -You can retrieve a product category by sending a request to the [Get a Product Category API Route](https://docs.medusajs.com/api/admin#product-categories_getproductcategoriescategory): +You can retrieve a product category by sending a request to the [Get a Product Category API Route](https://docs.medusajs.com/v1/api/admin#product-categories_getproductcategoriescategory): @@ -297,7 +297,7 @@ It returns the full object of the product category. ## Edit a Category -You can edit a product category by sending a request to the [Update a Product Category API Route](https://docs.medusajs.com/api/admin#product-categories_postproductcategoriescategory): +You can edit a product category by sending a request to the [Update a Product Category API Route](https://docs.medusajs.com/v1/api/admin#product-categories_postproductcategoriescategory): @@ -388,7 +388,7 @@ This request requires the ID of the category to be passed as a path parameter. In its body, you can pass any of the category’s fields that you want to update. In the code snippet above, you update the name of the category. -You can check the list of accepted fields in the [API reference](https://docs.medusajs.com/api/admin#product-categories_postproductcategoriescategory). +You can check the list of accepted fields in the [API reference](https://docs.medusajs.com/v1/api/admin#product-categories_postproductcategoriescategory). The request returns the full object of the updated product category. @@ -398,13 +398,13 @@ The request returns the full object of the updated product category. :::note -You can manage the categories of each product individually using the [product APIs](https://docs.medusajs.com/api/admin#products). This section explores the other approach of managing a product’s category using the product category APIs. +You can manage the categories of each product individually using the [product APIs](https://docs.medusajs.com/v1/api/admin#products). This section explores the other approach of managing a product’s category using the product category APIs. ::: ### Add Products to a Category -You can add more than one product to a category using the [Add Products to a Category API Route](https://docs.medusajs.com/api/admin#product-categories_postproductcategoriescategoryproductsbatch): +You can add more than one product to a category using the [Add Products to a Category API Route](https://docs.medusajs.com/v1/api/admin#product-categories_postproductcategoriescategoryproductsbatch): @@ -520,7 +520,7 @@ The request returns the full object of the product category updated with the new ### Remove Products from a Category -You can remove products from a category by sending a request to the [Delete Products API Route](https://docs.medusajs.com/api/admin#product-categories_deleteproductcategoriescategoryproductsbatch): +You can remove products from a category by sending a request to the [Delete Products API Route](https://docs.medusajs.com/v1/api/admin#product-categories_deleteproductcategoriescategoryproductsbatch): @@ -645,7 +645,7 @@ The request returns the full object of the product category updated with the its ## Delete a Category -You can delete a product category by sending a request to the [Delete a Product Category API Route](https://docs.medusajs.com/api/admin#product-categories_deleteproductcategoriescategory): +You can delete a product category by sending a request to the [Delete a Product Category API Route](https://docs.medusajs.com/v1/api/admin#product-categories_deleteproductcategoriescategory): diff --git a/www/apps/docs/content/modules/products/admin/manage-products.mdx b/www/apps/docs/content/modules/products/admin/manage-products.mdx index 7fb0332f5eee1..f2bee2b6e0b70 100644 --- a/www/apps/docs/content/modules/products/admin/manage-products.mdx +++ b/www/apps/docs/content/modules/products/admin/manage-products.mdx @@ -46,13 +46,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Products -You can list products as an admin using the [List Products API Route](https://docs.medusajs.com/api/admin#products_getproducts): +You can list products as an admin using the [List Products API Route](https://docs.medusajs.com/v1/api/admin#products_getproducts): @@ -115,17 +115,17 @@ You can list products as an admin using the [List Products API Route](https://do -This API Route doesn't require any parameters. You can pass parameters to search and filter through the retrieved products. For example, you can pass the `q` parameter which searches through product titles, descriptions, and more. You can learn more about available parameters in the [API reference](https://docs.medusajs.com/api/admin#products_getproducts). +This API Route doesn't require any parameters. You can pass parameters to search and filter through the retrieved products. For example, you can pass the `q` parameter which searches through product titles, descriptions, and more. You can learn more about available parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#products_getproducts). -You can also specify which fields to returns or which relations to expand using the `fields` and `expand` query parameters. You can learn more about them in the [API reference](https://docs.medusajs.com/api/admin#expanding-fields). +You can also specify which fields to returns or which relations to expand using the `fields` and `expand` query parameters. You can learn more about them in the [API reference](https://docs.medusajs.com/v1/api/admin#expanding-fields). -The request returns an array of products along with [pagination parameters](https://docs.medusajs.com/api/admin#pagination). +The request returns an array of products along with [pagination parameters](https://docs.medusajs.com/v1/api/admin#pagination). --- ## Create a Product -You can create a product by sending a request to the [Create a Product API Route](https://docs.medusajs.com/api/admin#products_postproducts): +You can create a product by sending a request to the [Create a Product API Route](https://docs.medusajs.com/v1/api/admin#products_postproducts): @@ -383,7 +383,7 @@ This API Route only requires the `title` body parameter, which is the name of th - `type`: an optional object that holds a value of the type to associate the product with. If you don’t pass an ID in the object, a new product type will be created. Otherwise, the product will be associated with an existing product type. - `tags`: an optional array of objects, each object requires the `value` property. If you don’t pass an ID in an object, a new product tag will be created. Otherwise, the product will be associated with an existing product tag. -You can learn about other available parameters in the [API reference](https://docs.medusajs.com/api/admin#products_postproducts). +You can learn about other available parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#products_postproducts). The request returns the created product as an object. @@ -403,7 +403,7 @@ You can learn more about pricing and zero-decimal currencies [here](../products. ## Retrieve a Product -You can retrieve a single product as an admin by sending a request to the [Get a Product API Route](https://docs.medusajs.com/api/admin#products_getproductsproduct): +You can retrieve a single product as an admin by sending a request to the [Get a Product API Route](https://docs.medusajs.com/v1/api/admin#products_getproductsproduct): @@ -475,7 +475,7 @@ The request returns the product as an object. ## Update a Product -You can update a product by sending a request to the [Update Product API Route](https://docs.medusajs.com/api/admin#products_postproductsproduct): +You can update a product by sending a request to the [Update Product API Route](https://docs.medusajs.com/v1/api/admin#products_postproductsproduct): @@ -560,7 +560,7 @@ You can update a product by sending a request to the [Update Product API Route]( This API Route requires the product ID as a path parameter. In the request’s body, you can pass any of the product’s fields to update. In the example above, you update the `title` of the product. -You can learn about other body parameters that you can pass in the [API reference](https://docs.medusajs.com/api/admin#products_postproductsproduct). +You can learn about other body parameters that you can pass in the [API reference](https://docs.medusajs.com/v1/api/admin#products_postproductsproduct). The request returns the updated product as an object. @@ -576,7 +576,7 @@ You can retrieve a product’s options by retrieving the product either using th ### Add a Product Option -You can add a product option to a product by sending a request to the [Add Product Option API Route](https://docs.medusajs.com/api/admin#products_postproductsproductoptions): +You can add a product option to a product by sending a request to the [Add Product Option API Route](https://docs.medusajs.com/v1/api/admin#products_postproductsproductoptions): @@ -667,7 +667,7 @@ The request returns the updated product as an option. You can view available opt ### Update a Product Option -You can update a product option by sending a request to the [Update Product Option API Route](https://docs.medusajs.com/api/admin#products_postproductsproductoptionsoption): +You can update a product option by sending a request to the [Update Product Option API Route](https://docs.medusajs.com/v1/api/admin#products_postproductsproductoptionsoption): @@ -765,7 +765,7 @@ The request returns the updated product as an option. You can view available opt ### Delete a Product Option -You can delete a product option by sending a request to the [Delete Product Option API Route](https://docs.medusajs.com/api/admin#products_deleteproductsproductoptionsoption): +You can delete a product option by sending a request to the [Delete Product Option API Route](https://docs.medusajs.com/v1/api/admin#products_deleteproductsproductoptionsoption): @@ -859,7 +859,7 @@ You can retrieve a product’s variants by retrieving the product either using t ### Create Product Variants -You can create a product variant by sending a request to the [Create Product Variant API Route](https://docs.medusajs.com/api/admin#products_postproductsproductvariants): +You can create a product variant by sending a request to the [Create Product Variant API Route](https://docs.medusajs.com/v1/api/admin#products_postproductsproductvariants): @@ -996,13 +996,13 @@ This API Route requires the ID of the product as a path parameter. In the reques - `option_id`: The ID of the product option. - `value`: A string indicating the value of the product option. -You can pass other optional parameters as well as indicated in the [API reference](https://docs.medusajs.com/api/admin#products_postproductsproductvariants). +You can pass other optional parameters as well as indicated in the [API reference](https://docs.medusajs.com/v1/api/admin#products_postproductsproductvariants). The request returns the updated product. You can access the product’s variants under the `variants` property of the product. ### Update a Product Variant -You can update a product variant by sending a request to the [Update a Product Variant API Route](https://docs.medusajs.com/api/admin#products_postproductsproductvariantsvariant): +You can update a product variant by sending a request to the [Update a Product Variant API Route](https://docs.medusajs.com/v1/api/admin#products_postproductsproductvariantsvariant): @@ -1092,13 +1092,13 @@ You can update a product variant by sending a request to the [Update a Product V This API Route requires the product ID and variant ID to be passed as a path parameter. -In the request body parameters, you can pass any of the variant’s attributes that you want to update. In the example above, you edit the `title` of the variant. You can refer to the [API reference](https://docs.medusajs.com/api/admin#products_postproductsproductvariantsvariant) for other possible parameters. +In the request body parameters, you can pass any of the variant’s attributes that you want to update. In the example above, you edit the `title` of the variant. You can refer to the [API reference](https://docs.medusajs.com/v1/api/admin#products_postproductsproductvariantsvariant) for other possible parameters. The request returns the updated product. You can access the product’s variants under the `variants` property of the product. ### Delete Product Variant -You can delete a product variant by sending a request to the [Delete a Product Variant API Route](https://docs.medusajs.com/api/admin#products_deleteproductsproductvariantsvariant): +You can delete a product variant by sending a request to the [Delete a Product Variant API Route](https://docs.medusajs.com/v1/api/admin#products_deleteproductsproductvariantsvariant): @@ -1184,7 +1184,7 @@ The request returns the following fields: ## Delete a Product -You can delete a product by sending a request to the [Delete a Product API Route](https://docs.medusajs.com/api/admin#products_deleteproductsproduct): +You can delete a product by sending a request to the [Delete a Product API Route](https://docs.medusajs.com/v1/api/admin#products_deleteproductsproduct): diff --git a/www/apps/docs/content/modules/products/storefront/show-products.mdx b/www/apps/docs/content/modules/products/storefront/show-products.mdx index 8f1d11ad92760..5c1cce85b10a3 100644 --- a/www/apps/docs/content/modules/products/storefront/show-products.mdx +++ b/www/apps/docs/content/modules/products/storefront/show-products.mdx @@ -56,7 +56,7 @@ If you follow the `@medusajs/product` code blocks, it's assumed you already have ## List Products -You can list available products using the [List Products API Route](https://docs.medusajs.com/api/store#products_getproducts): +You can list available products using the [List Products API Route](https://docs.medusajs.com/v1/api/store#products_getproducts): @@ -143,9 +143,9 @@ You can list available products using the [List Products API Route](https://docs -This API Route doesn't require any parameters. You can pass it parameters related to pagination, filtering, and more as explained in the [API reference](https://docs.medusajs.com/api/store#tag/Products/operation/GetProducts). +This API Route doesn't require any parameters. You can pass it parameters related to pagination, filtering, and more as explained in the [API reference](https://docs.medusajs.com/v1/api/store#tag/Products/operation/GetProducts). -The request returns an array of product objects along with [pagination parameters](https://docs.medusajs.com/api/store#section/Pagination). +The request returns an array of product objects along with [pagination parameters](https://docs.medusajs.com/v1/api/store#section/Pagination). ### Filtering Retrieved Products @@ -343,7 +343,7 @@ To expand the categories of each product, you can pass `categories` to the `expa -You can learn more about the [expand parameter in the API reference](https://docs.medusajs.com/api/store#section/Expanding-Fields) +You can learn more about the [expand parameter in the API reference](https://docs.medusajs.com/v1/api/store#section/Expanding-Fields) ### Product Pricing Parameters @@ -588,7 +588,7 @@ The Search functionality requires either installing a [search plugin](../../../p ::: -You can search products using the [Search Products API Route](https://docs.medusajs.com/api/store#tag/Products/operation/PostProductsSearch): +You can search products using the [Search Products API Route](https://docs.medusajs.com/v1/api/store#tag/Products/operation/PostProductsSearch): @@ -636,7 +636,7 @@ You can search products using the [Search Products API Route](https://docs.medus -This API Route requires the query parameter `q` being the term to search products for. The search plugin or service you’re using determine how `q` will be used to search the products. It also accepts pagination parameters as explained in the [API reference](https://docs.medusajs.com/api/store#products_postproductssearch). +This API Route requires the query parameter `q` being the term to search products for. The search plugin or service you’re using determine how `q` will be used to search the products. It also accepts pagination parameters as explained in the [API reference](https://docs.medusajs.com/v1/api/store#products_postproductssearch). The request returns a `hits` array holding the result items. The structure of the items depends on the plugin you’re using. @@ -644,7 +644,7 @@ The request returns a `hits` array holding the result items. The structure of th ## Retrieve a Product by ID -You can retrieve the details of a single product by its ID using the [Get a Product API Route](https://docs.medusajs.com/api/store#products_getproductsproduct): +You can retrieve the details of a single product by its ID using the [Get a Product API Route](https://docs.medusajs.com/v1/api/store#products_getproductsproduct): @@ -730,7 +730,7 @@ You can retrieve the details of a single product by its ID using the [Get a Prod -This API Route requires the product’s ID to be passed as a path parameter. You can also pass query parameters such as `cart_id` and `region_id` which are relevant for pricing as explained in the [Product Pricing Parameters section](#product-pricing-parameters). You can check the full list of accepted parameters in the [API reference](https://docs.medusajs.com/api/store#products_getproductsproduct). +This API Route requires the product’s ID to be passed as a path parameter. You can also pass query parameters such as `cart_id` and `region_id` which are relevant for pricing as explained in the [Product Pricing Parameters section](#product-pricing-parameters). You can check the full list of accepted parameters in the [API reference](https://docs.medusajs.com/v1/api/store#products_getproductsproduct). The request returns a product object. You can display its price as explained in the [Display Product Price](#display-product-price) section. diff --git a/www/apps/docs/content/modules/products/storefront/use-categories.mdx b/www/apps/docs/content/modules/products/storefront/use-categories.mdx index 3ed9258ee9b02..dcdff00ab56b1 100644 --- a/www/apps/docs/content/modules/products/storefront/use-categories.mdx +++ b/www/apps/docs/content/modules/products/storefront/use-categories.mdx @@ -54,7 +54,7 @@ If you follow the `@medusajs/product` code blocks, it's assumed you already have ## List Categories -You can list product categories by sending a request to the [List Product Categories API Route](https://docs.medusajs.com/api/store#product-categories_getproductcategories): +You can list product categories by sending a request to the [List Product Categories API Route](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategories): @@ -147,9 +147,9 @@ You can list product categories by sending a request to the [List Product Catego -This request does not require any query parameters. You can, however, pass query parameters to filter the list of categories, such as the passing the `q` query parameter to search categories by title or handle. You can learn about available query parameters in the [API reference](https://docs.medusajs.com/api/store#product-categories_getproductcategories). +This request does not require any query parameters. You can, however, pass query parameters to filter the list of categories, such as the passing the `q` query parameter to search categories by title or handle. You can learn about available query parameters in the [API reference](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategories). -The request returns an array of product categories along with [pagination fields](https://docs.medusajs.com/api/store#pagination). +The request returns an array of product categories along with [pagination fields](https://docs.medusajs.com/v1/api/store#pagination). ### Including all Nested Categories @@ -159,7 +159,7 @@ By default, the categories are not retrieved along with their nested children. T ## Get a Category by ID -You can retrieve a single product category by its ID using the [Get a Product Category API Route](https://docs.medusajs.com/api/store#product-categories_getproductcategoriescategory): +You can retrieve a single product category by its ID using the [Get a Product Category API Route](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategoriescategory): @@ -248,7 +248,7 @@ You can retrieve a single product category by its ID using the [Get a Product Ca -This request requires the product category ID as a path parameter. You can also pass query parameters such as `expand` and `fields` as explained in the [API reference](https://docs.medusajs.com/api/store#product-categories_getproductcategoriescategory). +This request requires the product category ID as a path parameter. You can also pass query parameters such as `expand` and `fields` as explained in the [API reference](https://docs.medusajs.com/v1/api/store#product-categories_getproductcategoriescategory). The request returns the category as an object. diff --git a/www/apps/docs/content/modules/regions-and-currencies/admin/manage-currencies.mdx b/www/apps/docs/content/modules/regions-and-currencies/admin/manage-currencies.mdx index c63c379818f02..2fd3aecd951e3 100644 --- a/www/apps/docs/content/modules/regions-and-currencies/admin/manage-currencies.mdx +++ b/www/apps/docs/content/modules/regions-and-currencies/admin/manage-currencies.mdx @@ -54,13 +54,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Currencies -You can list all available currencies in your system by sending a request to the [List Currencies API Route](https://docs.medusajs.com/api/admin#currencies_getcurrencies): +You can list all available currencies in your system by sending a request to the [List Currencies API Route](https://docs.medusajs.com/v1/api/admin#currencies_getcurrencies): @@ -126,7 +126,7 @@ You can list all available currencies in your system by sending a request to the -This API Route accepts optional filter and search query parameters. For example, you can pass the `code` query parameter to search the list of currencies by a code. You can learn about available query parameters in the [API reference](https://docs.medusajs.com/api/admin#currencies_getcurrencies). +This API Route accepts optional filter and search query parameters. For example, you can pass the `code` query parameter to search the list of currencies by a code. You can learn about available query parameters in the [API reference](https://docs.medusajs.com/v1/api/admin#currencies_getcurrencies). This request returns an array of currencies along with pagination parameters. @@ -134,7 +134,7 @@ This request returns an array of currencies along with pagination parameters. ## Update Currencies -You can update a currency by sending a request to the [Update Currency API Route](https://docs.medusajs.com/api/admin#currencies_postcurrenciescurrency): +You can update a currency by sending a request to the [Update Currency API Route](https://docs.medusajs.com/v1/api/admin#currencies_postcurrenciescurrency): @@ -229,7 +229,7 @@ This section explains how you can manage the currencies of a store. ### List Currencies in a Store -You can list currencies in a store by sending a request to the [Get Store Details API Route](https://docs.medusajs.com/api/admin#store_getstore): +You can list currencies in a store by sending a request to the [Get Store Details API Route](https://docs.medusajs.com/v1/api/admin#store_getstore): @@ -307,7 +307,7 @@ This request returns the store as an object. In that object, there are two prope ### Add Currency to the Store -You can add a currency to a store using the [Add a Currency Code API Route](https://docs.medusajs.com/api/admin#store_poststorecurrenciescode): +You can add a currency to a store using the [Add a Currency Code API Route](https://docs.medusajs.com/v1/api/admin#store_poststorecurrenciescode): @@ -374,7 +374,7 @@ The request returns the updated store as an object. You can access the new list ### Delete a Currency from the Store -You can remove a currency from a store by sending a request to the [Delete Currency Code API Route](https://docs.medusajs.com/api/admin#store_deletestorecurrenciescode): +You can remove a currency from a store by sending a request to the [Delete Currency Code API Route](https://docs.medusajs.com/v1/api/admin#store_deletestorecurrenciescode): diff --git a/www/apps/docs/content/modules/regions-and-currencies/admin/manage-regions.mdx b/www/apps/docs/content/modules/regions-and-currencies/admin/manage-regions.mdx index 7289d8b0a7548..f33bd1bfefeef 100644 --- a/www/apps/docs/content/modules/regions-and-currencies/admin/manage-regions.mdx +++ b/www/apps/docs/content/modules/regions-and-currencies/admin/manage-regions.mdx @@ -12,7 +12,7 @@ In this document, you’ll learn how to manage regions using the Admin APIs. ## Overview -Using the [region admin REST APIs](https://docs.medusajs.com/api/admin#regions), you can manage regions in your store, including creating, updating, and deleting regions. +Using the [region admin REST APIs](https://docs.medusajs.com/v1/api/admin#regions), you can manage regions in your store, including creating, updating, and deleting regions. ### Scenario @@ -26,7 +26,7 @@ You want to add or use the following admin functionalities: :::info -You can use Medusa’s Admin APIs to achieve more functionalities as well. Check out the [API reference](https://docs.medusajs.com/api/admin#regions) to learn more. +You can use Medusa’s Admin APIs to achieve more functionalities as well. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#regions) to learn more. ::: @@ -54,13 +54,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Regions -You can retrieve regions available on your backend using the [List Regions API Route](https://docs.medusajs.com/api/admin#regions_getregions): +You can retrieve regions available on your backend using the [List Regions API Route](https://docs.medusajs.com/v1/api/admin#regions_getregions): @@ -125,15 +125,15 @@ You can retrieve regions available on your backend using the [List Regions API R -This request returns an array of regions, as well as [pagination fields](https://docs.medusajs.com/api/admin#pagination). +This request returns an array of regions, as well as [pagination fields](https://docs.medusajs.com/v1/api/admin#pagination). -You can also pass filters and other selection query parameters to the request. Check out the [API reference](https://docs.medusajs.com/api/admin#regions_getregions) for more details on available query parameters. +You can also pass filters and other selection query parameters to the request. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#regions_getregions) for more details on available query parameters. --- ## Create a Region -You can create a region by sending a request to the [Create a Region API Route](https://docs.medusajs.com/api/admin#regions_postregions): +You can create a region by sending a request to the [Create a Region API Route](https://docs.medusajs.com/v1/api/admin#regions_postregions): @@ -261,7 +261,7 @@ This request requires the following body parameters: - `fulfillment_providers`: An array of fulfillment provider IDs. The array must contain at least one item. - `countries`: An array of the 2 character ISO code of the countries included in the region. -This request also accepts optional parameters, which you can view in the [API reference](https://docs.medusajs.com/api/admin#regions_postregions). +This request also accepts optional parameters, which you can view in the [API reference](https://docs.medusajs.com/v1/api/admin#regions_postregions). The request returns the created region in the response. @@ -269,9 +269,9 @@ The request returns the created region in the response. ## Update a Region -You can update any of the region’s fields and configurations. The REST APIs offer different APIs for updating specific configurations, such as the [Add Country API Route](https://docs.medusajs.com/api/admin#regions_postregionsregioncountries). +You can update any of the region’s fields and configurations. The REST APIs offer different APIs for updating specific configurations, such as the [Add Country API Route](https://docs.medusajs.com/v1/api/admin#regions_postregionsregioncountries). -Alternatively, you can update the details of a region using the [Update a Region API Route](https://docs.medusajs.com/api/admin#regions_postregionsregion): +Alternatively, you can update the details of a region using the [Update a Region API Route](https://docs.medusajs.com/v1/api/admin#regions_postregionsregion): @@ -365,7 +365,7 @@ Alternatively, you can update the details of a region using the [Update a Region This request accepts in its body parameters any of the region’s fields that you want to update. In the example above, you update the list of countries that are included in that region. -You can see the list of accepted fields in the [API reference](https://docs.medusajs.com/api/admin#regions_postregionsregion). +You can see the list of accepted fields in the [API reference](https://docs.medusajs.com/v1/api/admin#regions_postregionsregion). This request returns the full object of the updated region. @@ -379,7 +379,7 @@ In the example above, the list of countries replace any countries that were prev ## Add a Shipping Option to a Region -You can add a shipping option to a region by sending a request to the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions): +You can add a shipping option to a region by sending a request to the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions): @@ -492,13 +492,13 @@ This request requires the following body parameters: The `is_return` body parameter can also be passed if the shipping option is a return shipping option. Its boolean value indicates whether the shipping option is a return option or not. -This request accepts other optional body parameters, which you can learn more about in the [API reference](https://docs.medusajs.com/api/admin#shipping-options_postshippingoptions). +This request accepts other optional body parameters, which you can learn more about in the [API reference](https://docs.medusajs.com/v1/api/admin#shipping-options_postshippingoptions). This request returns the created shipping option. :::tip -You can also manage shipping options such as list, update, and delete. You can learn more in the [API reference](https://docs.medusajs.com/api/admin#shipping-options_getshippingoptions). +You can also manage shipping options such as list, update, and delete. You can learn more in the [API reference](https://docs.medusajs.com/v1/api/admin#shipping-options_getshippingoptions). ::: @@ -506,7 +506,7 @@ You can also manage shipping options such as list, update, and delete. You can l ## Delete a Region -You can delete a region by sending a request to the [Delete a Region API Route](https://docs.medusajs.com/api/admin#regions_deleteregionsregion): +You can delete a region by sending a request to the [Delete a Region API Route](https://docs.medusajs.com/v1/api/admin#regions_deleteregionsregion): diff --git a/www/apps/docs/content/modules/regions-and-currencies/overview.mdx b/www/apps/docs/content/modules/regions-and-currencies/overview.mdx index faaef09cae7fd..64e60beb10384 100644 --- a/www/apps/docs/content/modules/regions-and-currencies/overview.mdx +++ b/www/apps/docs/content/modules/regions-and-currencies/overview.mdx @@ -91,7 +91,7 @@ During checkout, customers will only see the available shipping options and paym }, { type: 'link', - href: 'https://docs.medusajs.com/api/store#regions', + href: 'https://docs.medusajs.com/v1/api/store#regions', label: 'Store APIs: Regions', customProps: { icon: Icons['server-solid'], diff --git a/www/apps/docs/content/modules/regions-and-currencies/storefront/use-regions.mdx b/www/apps/docs/content/modules/regions-and-currencies/storefront/use-regions.mdx index 5ee8c1f8a0524..754e98bbe4c1c 100644 --- a/www/apps/docs/content/modules/regions-and-currencies/storefront/use-regions.mdx +++ b/www/apps/docs/content/modules/regions-and-currencies/storefront/use-regions.mdx @@ -52,7 +52,7 @@ For requests that use the cart, it's also assumed you already have [used CartPro Customers should be able to see the list of available regions and select their region. -You can retrieve available regions by sending a request to the [List Regions API Route](https://docs.medusajs.com/api/store#regions_getregions): +You can retrieve available regions by sending a request to the [List Regions API Route](https://docs.medusajs.com/v1/api/store#regions_getregions): @@ -118,7 +118,7 @@ When a customer selects a region, you should store that region’s ID. You’ll ## Show Product Prices Based on the Selected Region -To retrieve products with the prices based on the selected regions, you can pass the `region_id` query parameter to the [List Products](https://docs.medusajs.com/api/store#products_getproducts) or [Get a Product](https://docs.medusajs.com/api/store#products_getproductsproduct) API Routes. +To retrieve products with the prices based on the selected regions, you can pass the `region_id` query parameter to the [List Products](https://docs.medusajs.com/v1/api/store#products_getproducts) or [Get a Product](https://docs.medusajs.com/v1/api/store#products_getproductsproduct) API Routes. For example: @@ -177,7 +177,7 @@ For example: In this example, you send a request to the List Products API Route, passing it the `region_id` query parameter. It is assumed that you have the ID of the region stored in the variable `regionId`. -This request returns the list of products along with [pagination fields](https://docs.medusajs.com/api/store#pagination). The prices of the products are based on the selected region. +This request returns the list of products along with [pagination fields](https://docs.medusajs.com/v1/api/store#pagination). The prices of the products are based on the selected region. --- @@ -250,6 +250,6 @@ For example: -In this example, you send a request to the [Update Cart API Route](https://docs.medusajs.com/api/store#carts_postcartscart). In the request’s body, you pass the parameter `region_id` and set its value to the selected region’s ID. It is assumed that you have the ID of the region stored in the variable `regionId`. +In this example, you send a request to the [Update Cart API Route](https://docs.medusajs.com/v1/api/store#carts_postcartscart). In the request’s body, you pass the parameter `region_id` and set its value to the selected region’s ID. It is assumed that you have the ID of the region stored in the variable `regionId`. This request returns the full object of the updated cart. \ No newline at end of file diff --git a/www/apps/docs/content/modules/sales-channels/admin/manage.mdx b/www/apps/docs/content/modules/sales-channels/admin/manage.mdx index ab7991bb6f217..b32232d3d4843 100644 --- a/www/apps/docs/content/modules/sales-channels/admin/manage.mdx +++ b/www/apps/docs/content/modules/sales-channels/admin/manage.mdx @@ -46,7 +46,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in this guide. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -204,7 +204,7 @@ You can list all sales channels by sending a request to the List Sales Channels -This request returns an array of all sales channels in your store. You can also pass query parameters to filter or customize the pagination of the results. Check out [the API Reference for a full list of query parameters.](https://docs.medusajs.com/api/admin#sales-channels_getsaleschannels) +This request returns an array of all sales channels in your store. You can also pass query parameters to filter or customize the pagination of the results. Check out [the API Reference for a full list of query parameters.](https://docs.medusajs.com/v1/api/admin#sales-channels_getsaleschannels) --- @@ -366,7 +366,7 @@ In this example, you enable a sales channel by changing the value of the `is_dis This request returns the updated sales channel. -You can check out [the API Reference for a full list of body parameters](https://docs.medusajs.com/api/admin#sales-channels_postsaleschannelssaleschannel) that you can pass to this request. +You can check out [the API Reference for a full list of body parameters](https://docs.medusajs.com/v1/api/admin#sales-channels_postsaleschannelssaleschannel) that you can pass to this request. --- diff --git a/www/apps/docs/content/modules/taxes/admin/manage-tax-rates.mdx b/www/apps/docs/content/modules/taxes/admin/manage-tax-rates.mdx index f15a4cb6240e7..23d559155427c 100644 --- a/www/apps/docs/content/modules/taxes/admin/manage-tax-rates.mdx +++ b/www/apps/docs/content/modules/taxes/admin/manage-tax-rates.mdx @@ -45,13 +45,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Tax Rates -You can list the tax rates by sending a request to the [List Tax Rates API Route](https://docs.medusajs.com/api/admin#tax-rates_gettaxrates): +You can list the tax rates by sending a request to the [List Tax Rates API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_gettaxrates): @@ -116,9 +116,9 @@ You can list the tax rates by sending a request to the [List Tax Rates API Route -You can pass to this API Route filter and search parameters as explained in the [API reference](https://docs.medusajs.com/api/admin#tax-rates_gettaxrates). +You can pass to this API Route filter and search parameters as explained in the [API reference](https://docs.medusajs.com/v1/api/admin#tax-rates_gettaxrates). -The API Route returns an array of tax rate objects along with [pagination parameters](https://docs.medusajs.com/api/admin#pagination). +The API Route returns an array of tax rate objects along with [pagination parameters](https://docs.medusajs.com/v1/api/admin#pagination). ### Listing Tax Rates for a Region @@ -268,7 +268,7 @@ This query parameter also accepts an array of strings, allowing you to filter th ## Create Tax Rate -You can create a tax rate by sending a request to the [Create Tax Rate API Route](https://docs.medusajs.com/api/admin#tax-rates_posttaxrates): +You can create a tax rate by sending a request to the [Create Tax Rate API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxrates): @@ -369,7 +369,7 @@ This API Route requires the following body parameters: - `name`: a string indicating the name of the tax rate - `region_id`: a string indicating the region this tax rate belongs to -You can optionally pass other parameters, such as `rate`, which is a number that indicates the tax rate. Refer to the [API reference](https://docs.medusajs.com/api/admin#tax-rates_posttaxrates) for other optional parameters. +You can optionally pass other parameters, such as `rate`, which is a number that indicates the tax rate. Refer to the [API reference](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxrates) for other optional parameters. :::tip @@ -383,7 +383,7 @@ The request returns the created tax rate as an object. ## Update Tax Rate -You can update a tax rate by sending a request to the [Update Tax Rate API Route](https://docs.medusajs.com/api/admin#tax-rates_posttaxratestaxrate): +You can update a tax rate by sending a request to the [Update Tax Rate API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxratestaxrate): @@ -466,7 +466,7 @@ You can update a tax rate by sending a request to the [Update Tax Rate API Route This API Route requires the tax rate ID to be passed as a path parameter. -In the request body, you can pass any of the tax rate’s fields as a parameter. In the example above, you pass the `name` parameter to update the name of the tax rate. Refer to the [API reference](https://docs.medusajs.com/api/admin#tax-rates_posttaxratestaxrate) for other parameters you can pass in the request body. +In the request body, you can pass any of the tax rate’s fields as a parameter. In the example above, you pass the `name` parameter to update the name of the tax rate. Refer to the [API reference](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxratestaxrate) for other parameters you can pass in the request body. The request returns the updated tax rate as an object. @@ -478,7 +478,7 @@ This section explains how you can add and remove products from a tax rate. ### Add Product to Tax Rate -You can add a product to a tax rate by sending a request to the [Add Products API Route](https://docs.medusajs.com/api/admin#tax-rates_posttaxratestaxrateproducts): +You can add a product to a tax rate by sending a request to the [Add Products API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxratestaxrateproducts): @@ -573,7 +573,7 @@ The request returns the updated tax rate as an object. You can access the tax ra ### Remove Product from Tax Rate -You can remove a product from a tax rate by sending a request to the [Delete Products API Route](https://docs.medusajs.com/api/admin#tax-rates_deletetaxratestaxrateproducts): +You can remove a product from a tax rate by sending a request to the [Delete Products API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_deletetaxratestaxrateproducts): @@ -672,7 +672,7 @@ This section explains how you can add and remove product types from a tax rate. ### Add Product Type to Tax Rate -You can add a product type to a tax rate by sending a request to the [Add Product Types API Route](https://docs.medusajs.com/api/admin#tax-rates_posttaxratestaxrateproducttypes): +You can add a product type to a tax rate by sending a request to the [Add Product Types API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxratestaxrateproducttypes): @@ -771,7 +771,7 @@ The request returns the updated tax rate as an object. You can access the tax ra ### Remove Product Type from Tax Rate -You can remove a product type from a tax rate by sending a request to the [Delete Product Types API Route](https://docs.medusajs.com/api/admin#tax-rates_deletetaxratestaxrateproducttypes): +You can remove a product type from a tax rate by sending a request to the [Delete Product Types API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_deletetaxratestaxrateproducttypes): @@ -878,7 +878,7 @@ This section explains how you can add and remove shipping options from a tax rat ### Add Shipping Option to Tax Rate -You can add a shipping option to a tax rate by sending a request to the [Add Shipping Option API Route](https://docs.medusajs.com/api/admin#tax-rates_posttaxratestaxrateshippingoptions): +You can add a shipping option to a tax rate by sending a request to the [Add Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_posttaxratestaxrateshippingoptions): @@ -977,7 +977,7 @@ The request returns the updated tax rate as an object. You can access the tax ra ### Remove Shipping Options from Tax Rate -You can remove a shipping option from a tax rate by sending a request to the [Delete Shipping Options API Route](https://docs.medusajs.com/api/admin#tax-rates_deletetaxratestaxrateshippingoptions): +You can remove a shipping option from a tax rate by sending a request to the [Delete Shipping Options API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_deletetaxratestaxrateshippingoptions): @@ -1076,7 +1076,7 @@ The request returns the updated tax rate as an object. You can access the tax ra ## Delete Tax Rate -You can delete a tax rate by sending a request to the [Delete Tax Rate API Route](https://docs.medusajs.com/api/admin#tax-rates_deletetaxratestaxrate): +You can delete a tax rate by sending a request to the [Delete Tax Rate API Route](https://docs.medusajs.com/v1/api/admin#tax-rates_deletetaxratestaxrate): diff --git a/www/apps/docs/content/modules/taxes/admin/manage-tax-settings.mdx b/www/apps/docs/content/modules/taxes/admin/manage-tax-settings.mdx index 7407af7c6d07e..0c06de7f44f4f 100644 --- a/www/apps/docs/content/modules/taxes/admin/manage-tax-settings.mdx +++ b/www/apps/docs/content/modules/taxes/admin/manage-tax-settings.mdx @@ -12,7 +12,7 @@ In this document, you’ll learn how to manage tax settings using admin APIs. ## Overview -Tax settings are defined per region. You can change the tax settings of a region using the [Update Region API Route](https://docs.medusajs.com/api/admin#regions_postregionsregion). +Tax settings are defined per region. You can change the tax settings of a region using the [Update Region API Route](https://docs.medusajs.com/v1/api/admin#regions_postregionsregion). ### Scenario @@ -46,13 +46,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Tax Providers -You can list all tax providers of a store using the [List Tax Providers API Route](https://docs.medusajs.com/api/admin#store_getstoretaxproviders): +You can list all tax providers of a store using the [List Tax Providers API Route](https://docs.medusajs.com/v1/api/admin#store_getstoretaxproviders): @@ -128,7 +128,7 @@ The request returns an array of tax provider objects. ## Change Tax Provider of a Region -You can change the tax provider of a region using the [Update Region API Route](https://docs.medusajs.com/api/admin#regions_postregionsregion): +You can change the tax provider of a region using the [Update Region API Route](https://docs.medusajs.com/v1/api/admin#regions_postregionsregion): @@ -213,7 +213,7 @@ The request returns the updated region as an object. ## Change Tax Settings of a Region -In addition to changing the tax provider, you can use the same [Update Region API Route](https://docs.medusajs.com/api/admin#regions_postregionsregion) to update the region’s other tax settings: +In addition to changing the tax provider, you can use the same [Update Region API Route](https://docs.medusajs.com/v1/api/admin#regions_postregionsregion) to update the region’s other tax settings: diff --git a/www/apps/docs/content/modules/taxes/inclusive-pricing.md b/www/apps/docs/content/modules/taxes/inclusive-pricing.md index 5e62ff9d51465..1fc0fb579b13e 100644 --- a/www/apps/docs/content/modules/taxes/inclusive-pricing.md +++ b/www/apps/docs/content/modules/taxes/inclusive-pricing.md @@ -31,7 +31,7 @@ Then, Medusa handles calculating the tax amount using the tax rate and the tax-i Tax inclusivity can be toggled for regions, currencies, price lists, and shipping options either during creation or while editing. This is represented by the boolean attribute `includes_tax` available in the entities `Region`, `Currency`, `PriceList`, and `ShippingOption`. By default, this attribute is set to `false`. -If you want to enable or disable this attribute for any of these entities, you can use the create or update API Routes related to these entities as shown in the [Admin API reference](https://docs.medusajs.com/api/admin/). +If you want to enable or disable this attribute for any of these entities, you can use the create or update API Routes related to these entities as shown in the [Admin API reference](https://docs.medusajs.com/v1/api/admin/). The value set for these entities can affect whether line items and shipping methods are tax inclusive or not. @@ -88,7 +88,7 @@ If you have disabled the automatic calculation of taxes in a region, you must [m ### Products -Taxes are calculated for each product variant either when a [single product is retrieved](https://docs.medusajs.com/api/store#products_getproductsproduct) or a [list of products is retrieved](https://docs.medusajs.com/api/store#products_getproducts). +Taxes are calculated for each product variant either when a [single product is retrieved](https://docs.medusajs.com/v1/api/store#products_getproductsproduct) or a [list of products is retrieved](https://docs.medusajs.com/v1/api/store#products_getproducts). Among the pricing fields retrieved for each variant, the following fields are relevant to taxes: @@ -148,7 +148,7 @@ Here is an example of these fields when tax inclusivity is enabled for both the ### Line Item -The taxes of line items are calculated and retrieved whenever the [cart is retrieved or updated](https://docs.medusajs.com/api/store#carts). +The taxes of line items are calculated and retrieved whenever the [cart is retrieved or updated](https://docs.medusajs.com/v1/api/store#carts). Each line item returned in any of the cart’s requests has total fields related to the price of the line item and its taxes. Among those fields, the following are relevant to tax-inclusive pricing: @@ -172,7 +172,7 @@ Finally, `original_tax_total` undergoes the same `tax_total` calculation, howeve ### Shipping Options -Taxes for Shipping Options are calculated and retrieved when the [list of shipping options is retrieved](https://docs.medusajs.com/api/store#shipping-options). +Taxes for Shipping Options are calculated and retrieved when the [list of shipping options is retrieved](https://docs.medusajs.com/v1/api/store#shipping-options). Among the returned fields for each shipping option, the following are relevant to each of their pricing and taxes: @@ -186,9 +186,9 @@ If tax inclusivity is enabled for the shipping option, `amount` and `price_incl_ Carts and Orders have the same total fields relevant for taxes. -A cart’s totals, including its taxes, are calculated and retrieved whenever the cart is [updated or retrieved](https://docs.medusajs.com/api/store#carts). +A cart’s totals, including its taxes, are calculated and retrieved whenever the cart is [updated or retrieved](https://docs.medusajs.com/v1/api/store#carts). -An order’s totals, including its taxes, are calculated and retrieved whenever the order is retrieved both on the [storefront](https://docs.medusajs.com/api/store#orders) and on the [admin](https://docs.medusajs.com/api/admin#orders). +An order’s totals, including its taxes, are calculated and retrieved whenever the order is retrieved both on the [storefront](https://docs.medusajs.com/v1/api/store#orders) and on the [admin](https://docs.medusajs.com/v1/api/admin#orders). The relevant fields are: diff --git a/www/apps/docs/content/modules/taxes/storefront/manual-calculation.md b/www/apps/docs/content/modules/taxes/storefront/manual-calculation.md index be5dfb92434be..bf59a10b25f64 100644 --- a/www/apps/docs/content/modules/taxes/storefront/manual-calculation.md +++ b/www/apps/docs/content/modules/taxes/storefront/manual-calculation.md @@ -20,7 +20,7 @@ This section explores different ways you can calculate taxes based on your purpo ### Use Calculate Cart Taxes API Route -The [Calculate Cart Taxes](https://docs.medusajs.com/api/store#carts_postcartscarttaxes) API Route forces the calculation of taxes for a cart during checkout. This bypasses the option set in admin to not calculate taxes automatically, which results in sending requests to the tax provider. +The [Calculate Cart Taxes](https://docs.medusajs.com/v1/api/store#carts_postcartscarttaxes) API Route forces the calculation of taxes for a cart during checkout. This bypasses the option set in admin to not calculate taxes automatically, which results in sending requests to the tax provider. This calculates and retrieves the taxes on the cart and each of the line items in that cart. diff --git a/www/apps/docs/content/modules/users/admin/manage-invites.mdx b/www/apps/docs/content/modules/users/admin/manage-invites.mdx index fa1148c748fa2..617603c939e3a 100644 --- a/www/apps/docs/content/modules/users/admin/manage-invites.mdx +++ b/www/apps/docs/content/modules/users/admin/manage-invites.mdx @@ -48,13 +48,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus Except for the Accept Invite API Route, you must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Invites -You can list invites by sending a request to the [List Invite API Route](https://docs.medusajs.com/api/admin#invites_getinvites): +You can list invites by sending a request to the [List Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_getinvites): @@ -127,7 +127,7 @@ The request returns an array of invite objects. ## Create Invite -You can create an invite by sending a request to the [Create Invite API Route](https://docs.medusajs.com/api/admin#invites_postinvites): +You can create an invite by sending a request to the [Create Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_postinvites): @@ -215,7 +215,7 @@ The request does not return any data. If the invite was created successfully, th A logged-out user can accept an invite, which would create a user for that user. -You can accept an invite by sending a request to the [Accept Invite API Route](https://docs.medusajs.com/api/admin#invites_postinvitesinviteaccept): +You can accept an invite by sending a request to the [Accept Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_postinvitesinviteaccept): @@ -324,7 +324,7 @@ The request does not return any data. If the invite was accepted successfully, t ## Resend an Invite -You can resend an invite if it’s not accepted yet. To resend an invite, send a request to the [Resend Invite API Route](https://docs.medusajs.com/api/admin#invites_postinvitesinviteresend): +You can resend an invite if it’s not accepted yet. To resend an invite, send a request to the [Resend Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_postinvitesinviteresend): @@ -393,7 +393,7 @@ The request doesn't return any data. If the invite was resent successfully, the ## Delete an Invite -You can delete an invite by sending a request to the [Delete Invite API Route](https://docs.medusajs.com/api/admin#invites_deleteinvitesinvite): +You can delete an invite by sending a request to the [Delete Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_deleteinvitesinvite): diff --git a/www/apps/docs/content/modules/users/admin/manage-profile.mdx b/www/apps/docs/content/modules/users/admin/manage-profile.mdx index c5cbf9b65cb59..823a183fb5824 100644 --- a/www/apps/docs/content/modules/users/admin/manage-profile.mdx +++ b/www/apps/docs/content/modules/users/admin/manage-profile.mdx @@ -44,7 +44,7 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus Aside from the User Login and Reset Password steps, other API Routes require you to be an authenticated admin user. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- @@ -52,7 +52,7 @@ You can learn more about [authenticating as an admin user in the API reference]( ### User Login -You can log in a user by sending a request to the [User Login API Route](https://docs.medusajs.com/api/admin#auth_postauth): +You can log in a user by sending a request to the [User Login API Route](https://docs.medusajs.com/v1/api/admin#auth_postauth): @@ -135,7 +135,7 @@ The request returns the logged-in user as an object. ### User Logout -You can log out a user by sending a request to the [User Logout API Route](https://docs.medusajs.com/api/admin#auth_deleteauth): +You can log out a user by sending a request to the [User Logout API Route](https://docs.medusajs.com/v1/api/admin#auth_deleteauth): @@ -200,7 +200,7 @@ The request doesn't return any data. The response code will be `200` for success ## Retrieve User Profile Details -You can retrieve the current user’s details for their profile by sending a request to the [Get Current User API Route](https://docs.medusajs.com/api/admin#auth_getauth): +You can retrieve the current user’s details for their profile by sending a request to the [Get Current User API Route](https://docs.medusajs.com/v1/api/admin#auth_getauth): @@ -264,7 +264,7 @@ The request returns the current user as an object. ## Update User’s Profile Details -You can update a user’s details in their profile by sending a request to the [Update User API Route](https://docs.medusajs.com/api/admin#users_postusersuser): +You can update a user’s details in their profile by sending a request to the [Update User API Route](https://docs.medusajs.com/v1/api/admin#users_postusersuser): @@ -347,7 +347,7 @@ You can update a user’s details in their profile by sending a request to the [ This API Route requires the ID of the user as a path parameter. -In the request body, you can pass any of the user’s fields that you want to update as a parameter. In the example above, you pass the `first_name` parameter to update the user’s first name. You can refer to the [API reference](https://docs.medusajs.com/api/admin#users_postusersuser) to learn about other available parameters. +In the request body, you can pass any of the user’s fields that you want to update as a parameter. In the example above, you pass the `first_name` parameter to update the user’s first name. You can refer to the [API reference](https://docs.medusajs.com/v1/api/admin#users_postusersuser) to learn about other available parameters. The request returns the updated user as an object. @@ -367,7 +367,7 @@ Sending the password reset email is not handled by default in the Medusa backend ::: -You can request a password reset by sending a request to the [Request Password Reset API Route](https://docs.medusajs.com/api/admin#users_postusersuserpasswordtoken): +You can request a password reset by sending a request to the [Request Password Reset API Route](https://docs.medusajs.com/v1/api/admin#users_postusersuserpasswordtoken): @@ -451,7 +451,7 @@ The request does not return any data. The response code will be `204` if the req After the user resets their password and, typically, receives an email with a link to reset their password, they should enter their new password. The new password, along with the token passed to this page are used to reset the password on the Medusa backend. -You can reset the password by sending a request to the [Reset Password API Route](https://docs.medusajs.com/api/admin#users_postusersuserpassword): +You can reset the password by sending a request to the [Reset Password API Route](https://docs.medusajs.com/v1/api/admin#users_postusersuserpassword): diff --git a/www/apps/docs/content/modules/users/admin/manage-users.mdx b/www/apps/docs/content/modules/users/admin/manage-users.mdx index 6f7070aaf54d6..d368bf6fa0afd 100644 --- a/www/apps/docs/content/modules/users/admin/manage-users.mdx +++ b/www/apps/docs/content/modules/users/admin/manage-users.mdx @@ -47,13 +47,13 @@ If you follow the Medusa React code blocks, it's assumed you already have [Medus You must be an authenticated admin user before following along with the steps in the tutorial. -You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/api/admin#authentication). +You can learn more about [authenticating as an admin user in the API reference](https://docs.medusajs.com/v1/api/admin#authentication). --- ## List Users -You can retrieve users in a store by sending a request to the [List Users API Route](https://docs.medusajs.com/api/admin#users_getusers): +You can retrieve users in a store by sending a request to the [List Users API Route](https://docs.medusajs.com/v1/api/admin#users_getusers): @@ -124,7 +124,7 @@ The request returns an array of user objects. ## Create a User -You can create a user by sending a request to the [Create User API Route](https://docs.medusajs.com/api/admin#users_postusers): +You can create a user by sending a request to the [Create User API Route](https://docs.medusajs.com/v1/api/admin#users_postusers): @@ -208,7 +208,7 @@ This API Route requires the following request body parameters: - `email`: a string indicating the email of the user. - `password`: a string indicating the password of the user. -The API Route accepts other optional body parameters, such as first name or last name. Check the [API reference](https://docs.medusajs.com/api/admin#users_postusers) for details on optional body parameters. +The API Route accepts other optional body parameters, such as first name or last name. Check the [API reference](https://docs.medusajs.com/v1/api/admin#users_postusers) for details on optional body parameters. The request returns the created user as an object. @@ -216,7 +216,7 @@ The request returns the created user as an object. ## Update User -You can update a user’s details by sending a request to the [Update User API Route](https://docs.medusajs.com/api/admin#users_postusersuser): +You can update a user’s details by sending a request to the [Update User API Route](https://docs.medusajs.com/v1/api/admin#users_postusersuser): @@ -299,7 +299,7 @@ You can update a user’s details by sending a request to the [Update User API R This API Route requires the ID of the user as a path parameter. -In the request body, you can pass any of the user’s fields that you want to update as parameters. In the example above, you update the user’s `first_name`. Check the [API reference](https://docs.medusajs.com/api/admin#users_postusersuser) for all the optional parameters. +In the request body, you can pass any of the user’s fields that you want to update as parameters. In the example above, you update the user’s `first_name`. Check the [API reference](https://docs.medusajs.com/v1/api/admin#users_postusersuser) for all the optional parameters. The request returns the updated user as an object. @@ -307,7 +307,7 @@ The request returns the updated user as an object. ## Delete a User -You can delete a user by sending a request to the [Delete User API Route](https://docs.medusajs.com/api/admin#users_deleteusersuser): +You can delete a user by sending a request to the [Delete User API Route](https://docs.medusajs.com/v1/api/admin#users_deleteusersuser): diff --git a/www/apps/docs/content/modules/users/backend/rbac.mdx b/www/apps/docs/content/modules/users/backend/rbac.mdx index 67be0d79ff62e..66616871a8e33 100644 --- a/www/apps/docs/content/modules/users/backend/rbac.mdx +++ b/www/apps/docs/content/modules/users/backend/rbac.mdx @@ -737,7 +737,7 @@ Furthermore, you may need to extend core services if you need to perform actions npx medusa develop ``` - Try first to log in using the [Admin User Login API Route](https://docs.medusajs.com/api/admin#auth_postauth) with an existing admin user. Then, send a `POST` request to the `localhost:9000/admin/roles` API Route with the following request body parameters: + Try first to log in using the [Admin User Login API Route](https://docs.medusajs.com/v1/api/admin#auth_postauth) with an existing admin user. Then, send a `POST` request to the `localhost:9000/admin/roles` API Route with the following request body parameters: ```json { @@ -754,13 +754,13 @@ Furthermore, you may need to extend core services if you need to perform actions } ``` - Make sure to replace the `store_id`'s value with your store’s ID. You can retrieve the store’s ID using the [Get Store Details API Route](https://docs.medusajs.com/api/admin#store_getstore). + Make sure to replace the `store_id`'s value with your store’s ID. You can retrieve the store’s ID using the [Get Store Details API Route](https://docs.medusajs.com/v1/api/admin#store_getstore). This will create a new role with a permission that allows users of this role to access the `/admin/products` API Route. As mentioned before, because of the middleware’s implementation, you must specify the path without the `/admin` prefix. If you chose to implement this differently, such as with regular expressions, then change the permission’s metadata accordingly. - Next, create a new user using the [Create User API Route](https://docs.medusajs.com/api/admin#users_postusers). Then, send a `POST` request to `localhost:9000/admin/roles//user/`, where `` is the ID of the role you created, and `` is the ID of the user you created. This will associate the user with the role you created. + Next, create a new user using the [Create User API Route](https://docs.medusajs.com/v1/api/admin#users_postusers). Then, send a `POST` request to `localhost:9000/admin/roles//user/`, where `` is the ID of the role you created, and `` is the ID of the user you created. This will associate the user with the role you created. - Finally, login with the user you created, then try to access any API Route other than `/admin/products`. You’ll receive a `401` unauthorized response. Then, try to access the [List Products API Route](https://docs.medusajs.com/api/admin#products_getproducts), and the user should be able to access it as expected. + Finally, login with the user you created, then try to access any API Route other than `/admin/products`. You’ll receive a `401` unauthorized response. Then, try to access the [List Products API Route](https://docs.medusajs.com/v1/api/admin#products_getproducts), and the user should be able to access it as expected. diff --git a/www/apps/docs/content/modules/users/users.md b/www/apps/docs/content/modules/users/users.md index 5282592c279a0..d9bc979e3782a 100644 --- a/www/apps/docs/content/modules/users/users.md +++ b/www/apps/docs/content/modules/users/users.md @@ -26,7 +26,7 @@ Some of the `User` entity attributes include: - `password_hash`: a string indicating the encrypted password of the user. Passwords are encrypted using the [scrypt-kdf NPM package](https://www.npmjs.com/package/scrypt-kdf). The password hash is nullable, which can be useful if you want to integrate a third-party authentication service that does not require a password. - `first_name`: a string indicating the user’s first name. - `last_name`: a string indicating the user’s last name. -- `api_token`: a string that holds the user’s API token. The API token can be used to send authenticated requests to admin API Routes, instead of using cookie session authentication. Check out the [API reference](https://docs.medusajs.com/api/admin#authentication) to learn how to use it. +- `api_token`: a string that holds the user’s API token. The API token can be used to send authenticated requests to admin API Routes, instead of using cookie session authentication. Check out the [API reference](https://docs.medusajs.com/v1/api/admin#authentication) to learn how to use it. - `role`: a string that indicates the role of the user. Its value can be either `admin`, `member`, or `developer`. :::note @@ -61,8 +61,8 @@ You have full freedom in how you choose to implement the invite flow. This secti The invitation process typically follows these steps in the Medusa backend: -1. A user creates an invite either using the [Create Invite API Route](https://docs.medusajs.com/api/admin#invites_postinvites) or the `InviteService`'s `create` method. Part of creating an invite includes generating the token and setting the expiry date. By default, the expiry date is set to a week after the date of invitation creation. -2. The new user receives the invite, typically through their email (although this is not implemented by default within the Medusa backend). The new user has to provide their details and password. The invite can be accepted either using the [Accept Invite API Route](https://docs.medusajs.com/api/admin#invites_postinvitesinviteaccept) or using the `InviteService`'s `accept` method. +1. A user creates an invite either using the [Create Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_postinvites) or the `InviteService`'s `create` method. Part of creating an invite includes generating the token and setting the expiry date. By default, the expiry date is set to a week after the date of invitation creation. +2. The new user receives the invite, typically through their email (although this is not implemented by default within the Medusa backend). The new user has to provide their details and password. The invite can be accepted either using the [Accept Invite API Route](https://docs.medusajs.com/v1/api/admin#invites_postinvitesinviteaccept) or using the `InviteService`'s `accept` method. 3. When the new user accepts the invite, the invitation is validated first to ensure it’s not expired. If it’s not expired, a new user is created using the `UserService`'s [create method](../../references/services/classes/services.UserService.mdx#create). If an invitation is expired, an existing user can resend the invite either using the Resend Invite API Route or using the `InviteService`'s resend method. This would generate a new token and reset the expiry date. diff --git a/www/apps/docs/content/plugins/analytics/segment.md b/www/apps/docs/content/plugins/analytics/segment.md index 1529560d2714b..0ff85716ff9d5 100644 --- a/www/apps/docs/content/plugins/analytics/segment.md +++ b/www/apps/docs/content/plugins/analytics/segment.md @@ -133,7 +133,7 @@ Run your backend with the following command: npx medusa develop ``` -Then, try triggering one of the [mentioned events earlier in this document](#events-that-the-segment-plugin-tracks). For example, you can place an order either using the [REST APIs](https://docs.medusajs.com/api/store) or using the [Next.js Starter Template](../../starters/nextjs-medusa-starter.mdx). +Then, try triggering one of the [mentioned events earlier in this document](#events-that-the-segment-plugin-tracks). For example, you can place an order either using the [REST APIs](https://docs.medusajs.com/v1/api/store) or using the [Next.js Starter Template](../../starters/nextjs-medusa-starter.mdx). After you place an order, on the Segment source that you created, click on the Debugger tab. You should see at least one event triggered for each order you place. If you click on the event, you can see the order details are passed to the event. diff --git a/www/apps/docs/content/plugins/cms/strapi.md b/www/apps/docs/content/plugins/cms/strapi.md index 3ca4ef62801ba..574cb558233e1 100644 --- a/www/apps/docs/content/plugins/cms/strapi.md +++ b/www/apps/docs/content/plugins/cms/strapi.md @@ -209,7 +209,7 @@ info: Strapi Subscriber Initialized ### Two-Way Syncing -To test syncing data from Medusa to Strapi, try creating or updating a product either using the Medusa Admin or the [REST APIs](https://docs.medusajs.com/api/admin#products_postproducts). This triggers the associated event in Medusa, which makes the updates in Strapi. +To test syncing data from Medusa to Strapi, try creating or updating a product either using the Medusa Admin or the [REST APIs](https://docs.medusajs.com/v1/api/admin#products_postproducts). This triggers the associated event in Medusa, which makes the updates in Strapi. :::tip diff --git a/www/apps/docs/content/plugins/erp/brightpearl.md b/www/apps/docs/content/plugins/erp/brightpearl.md index 466eb183fd884..88ceead3d5c96 100644 --- a/www/apps/docs/content/plugins/erp/brightpearl.md +++ b/www/apps/docs/content/plugins/erp/brightpearl.md @@ -129,7 +129,7 @@ To test the plugin, run the following command in the directory of the Medusa bac npx medusa develop ``` -Then, place an order either using a [storefront](../../starters/nextjs-medusa-starter.mdx) or the [Store REST APIs](https://docs.medusajs.com/api/store). The order should appear on Brightpearl. +Then, place an order either using a [storefront](../../starters/nextjs-medusa-starter.mdx) or the [Store REST APIs](https://docs.medusajs.com/v1/api/store). The order should appear on Brightpearl. --- diff --git a/www/apps/docs/content/plugins/file-service/s3.mdx b/www/apps/docs/content/plugins/file-service/s3.mdx index ae33588c4bff1..592ddc36ba290 100644 --- a/www/apps/docs/content/plugins/file-service/s3.mdx +++ b/www/apps/docs/content/plugins/file-service/s3.mdx @@ -192,7 +192,7 @@ Run your Medusa backend with the following command: npx medusa develop ``` -Then, you can either test the plugin using the [REST APIs](https://docs.medusajs.com/api/store) or using the [Medusa Admin](../../admin/quickstart.mdx). +Then, you can either test the plugin using the [REST APIs](https://docs.medusajs.com/v1/api/store) or using the [Medusa Admin](../../admin/quickstart.mdx). On the Medusa Admin, create a new product and, in the Images section, upload an image then click Save. If the integration was successful, the product image will be uploaded successfully. diff --git a/www/apps/docs/content/plugins/file-service/spaces.md b/www/apps/docs/content/plugins/file-service/spaces.md index 70b62ebb029f4..498647325e9af 100644 --- a/www/apps/docs/content/plugins/file-service/spaces.md +++ b/www/apps/docs/content/plugins/file-service/spaces.md @@ -127,7 +127,7 @@ Run your Medusa backend with the following command: npx medusa develop ``` -Then, you can either test the plugin using the [REST APIs](https://docs.medusajs.com/api/store) or using the [Medusa Admin](../../admin/quickstart.mdx). +Then, you can either test the plugin using the [REST APIs](https://docs.medusajs.com/v1/api/store) or using the [Medusa Admin](../../admin/quickstart.mdx). On the Medusa Admin, create a new product and, in the Images section, upload an image then click Save. If the integration was successful, the product image will be uploaded successfully. diff --git a/www/apps/docs/content/plugins/fulfillment/manual.md b/www/apps/docs/content/plugins/fulfillment/manual.md index de8905cff25f3..f480f306e51c1 100644 --- a/www/apps/docs/content/plugins/fulfillment/manual.md +++ b/www/apps/docs/content/plugins/fulfillment/manual.md @@ -53,4 +53,4 @@ Then, you must enable the Manual Fulfillment Provider in at least one region to After enabling the provider, you must add shipping options for that provider. You can also do that using either the [Medusa Admin](../../user-guide/regions/shipping-options.mdx) or the [Admin REST APIs](../../modules/regions-and-currencies/admin/manage-regions.mdx#add-a-shipping-option-to-a-region). -Finally, try to place an order using either a [storefront](../../starters/nextjs-medusa-starter.mdx) or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use the shipping options you created for the fulfillment provider. +Finally, try to place an order using either a [storefront](../../starters/nextjs-medusa-starter.mdx) or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use the shipping options you created for the fulfillment provider. diff --git a/www/apps/docs/content/plugins/fulfillment/webshipper.md b/www/apps/docs/content/plugins/fulfillment/webshipper.md index 01d48f2079cf5..3dcbccc847ba7 100644 --- a/www/apps/docs/content/plugins/fulfillment/webshipper.md +++ b/www/apps/docs/content/plugins/fulfillment/webshipper.md @@ -112,7 +112,7 @@ Then, you must enable the Webshipper Fulfillment Provider in at least one region After enabling the provider, you must add shipping options for that provider. You can also do that using either the [Medusa Admin](../../user-guide/regions/shipping-options.mdx) or the [Admin REST APIs](../../modules/regions-and-currencies/admin/manage-regions.mdx#add-a-shipping-option-to-a-region). -Finally, try to place an order using either a [storefront](../../starters/nextjs-medusa-starter.mdx) or the [Store APIs](https://docs.medusajs.com/api/store). You should be able to use the shipping options you created for the fulfillment provider. +Finally, try to place an order using either a [storefront](../../starters/nextjs-medusa-starter.mdx) or the [Store APIs](https://docs.medusajs.com/v1/api/store). You should be able to use the shipping options you created for the fulfillment provider. --- diff --git a/www/apps/docs/content/plugins/other/restock-notifications.md b/www/apps/docs/content/plugins/other/restock-notifications.md index ecb35160781fa..9fb8728b67ec8 100644 --- a/www/apps/docs/content/plugins/other/restock-notifications.md +++ b/www/apps/docs/content/plugins/other/restock-notifications.md @@ -100,7 +100,7 @@ The API Route accepts the following request body parameters: After subscribing to the out-of-stock variant, change its stock quantity to the minimum inventory required to test out the event trigger. The new stock quantity should be any value above `0` if you didn't set the `inventory_required` option. -You can use the [Medusa Admin](../../user-guide/products/manage.mdx#manage-product-variants) or the [Admin REST API Routes](https://docs.medusajs.com/api/admin#products_postproductsproductvariantsvariant) to update the quantity. +You can use the [Medusa Admin](../../user-guide/products/manage.mdx#manage-product-variants) or the [Admin REST API Routes](https://docs.medusajs.com/v1/api/admin#products_postproductsproductvariantsvariant) to update the quantity. After you update the quantity, you can see the `restock-notification.restocked` triggered and logged in the Medusa backend logs. If you've implemented the notification sending, this is where it'll be triggered and a notification will be sent. diff --git a/www/apps/docs/content/plugins/payment/klarna.md b/www/apps/docs/content/plugins/payment/klarna.md index 6e058505ccb32..8a099038a7934 100644 --- a/www/apps/docs/content/plugins/payment/klarna.md +++ b/www/apps/docs/content/plugins/payment/klarna.md @@ -27,7 +27,7 @@ You can integrate Klarna into Medusa using the [official plugin](https://github. It is assumed that you already have a Medusa backend installed and set up. If not, you can follow the [quickstart guide](../../development/backend/install.mdx). -In addition, you’ll need to use the [Medusa Admin](../../admin/quickstart.mdx) to enable the payment provider in later steps. You can alternatively use the [REST APIs](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders). +In addition, you’ll need to use the [Medusa Admin](../../admin/quickstart.mdx) to enable the payment provider in later steps. You can alternatively use the [REST APIs](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders). ### Needed Accounts @@ -90,7 +90,7 @@ const plugins = [ To use Klarna in your store, you must enable it in at least one region. -You can follow [this user guide to learn how to enable a payment provider in a region](../../user-guide/regions/providers#manage-payment-providers). You can alternatively use the [REST APIs](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders). +You can follow [this user guide to learn how to enable a payment provider in a region](../../user-guide/regions/providers#manage-payment-providers). You can alternatively use the [REST APIs](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders). --- diff --git a/www/apps/docs/content/plugins/payment/paypal.md b/www/apps/docs/content/plugins/payment/paypal.md index 897379b115048..f1a4389b59e9f 100644 --- a/www/apps/docs/content/plugins/payment/paypal.md +++ b/www/apps/docs/content/plugins/payment/paypal.md @@ -29,7 +29,7 @@ The API Route for PayPal webhook integration with your Medusa backend should be Additionally, you need a Medusa backend installed and set up. If not, you can follow the [quickstart guide](../../development/backend/install.mdx) to get started. -You also need [Medusa Admin](../../admin/quickstart.mdx) installed to enable PayPal as a payment processor. You can alternatively use the [REST APIs](https://docs.medusajs.com/api/admin). +You also need [Medusa Admin](../../admin/quickstart.mdx) installed to enable PayPal as a payment processor. You can alternatively use the [REST APIs](https://docs.medusajs.com/v1/api/admin). --- @@ -258,8 +258,8 @@ Here’s briefly what this code snippet does: 3. This component renders a PayPal button to initialize the payment using PayPal. You use the components from the PayPal React components library to render the button and you pass the `PayPalScriptProcessor` component the Client ID. Make sure to replace `` with the environment variable you added. The PayPal button uses `id` provided from backend to inject total amount with currency. 4. When the button is clicked, the `handlePayment` function is executed. In this method, you initialize the payment authorization using `actions.order.authorize()`. It takes the customer to another page to log in with PayPal and authorize the payment. 5. After the payment is authorized successfully on PayPal’s portal, the fulfillment function passed to `actions.order.authorize().then` will be executed. -6. In the fulfillment function, you first ensure that the payment session for the PayPal payment processor is set as the [selected Payment Session in the cart](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession). Then, you send a request to the backend to [update the payment session](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessionupdate) data with the authorization data received from PayPal. -7. You then [complete the cart and place the order](https://docs.medusajs.com/api/store#carts_postcartscartcomplete). If that is done successfully, you just show a success alert. You can change this based on the behavior you want in your storefront. +6. In the fulfillment function, you first ensure that the payment session for the PayPal payment processor is set as the [selected Payment Session in the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession). Then, you send a request to the backend to [update the payment session](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessionupdate) data with the authorization data received from PayPal. +7. You then [complete the cart and place the order](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete). If that is done successfully, you just show a success alert. You can change this based on the behavior you want in your storefront. You can then import this component where you want to show it in your storefront. diff --git a/www/apps/docs/content/plugins/payment/stripe.mdx b/www/apps/docs/content/plugins/payment/stripe.mdx index 2431bbfa74195..b1bb7819dbb8c 100644 --- a/www/apps/docs/content/plugins/payment/stripe.mdx +++ b/www/apps/docs/content/plugins/payment/stripe.mdx @@ -165,10 +165,10 @@ This section will go over how to add Stripe into a React-based framework. The in The integration with stripe must have the following workflow: -1. During checkout when the user reaches the payment section, you should [create payment sessions](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsessions). This will initialize the `payment_sessions` array in the `cart` object received. The `payment_sessions` is an array of available payment processors. -2. If Stripe is available as a payment processor, you should select Stripe as [the payment session](https://docs.medusajs.com/api/store#carts_postcartscartpaymentsession) for the current cart. This will initialize the `payment_session` object in the `cart` object to include data related to Stripe and the current payment session. This includes the payment intent and client secret. +1. During checkout when the user reaches the payment section, you should [create payment sessions](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsessions). This will initialize the `payment_sessions` array in the `cart` object received. The `payment_sessions` is an array of available payment processors. +2. If Stripe is available as a payment processor, you should select Stripe as [the payment session](https://docs.medusajs.com/v1/api/store#carts_postcartscartpaymentsession) for the current cart. This will initialize the `payment_session` object in the `cart` object to include data related to Stripe and the current payment session. This includes the payment intent and client secret. 3. After the user enters their card details and submits the form, confirm the payment with Stripe. -4. If the payment is confirmed successfully, [complete the cart](https://docs.medusajs.com/api/store#carts_postcartscartcomplete) in Medusa. Otherwise show an error. +4. If the payment is confirmed successfully, [complete the cart](https://docs.medusajs.com/v1/api/store#carts_postcartscartcomplete) in Medusa. Otherwise show an error. #### Install Dependencies diff --git a/www/apps/docs/content/recipes/digital-products.mdx b/www/apps/docs/content/recipes/digital-products.mdx index 7591987f7e800..054eb2e4f0fe0 100644 --- a/www/apps/docs/content/recipes/digital-products.mdx +++ b/www/apps/docs/content/recipes/digital-products.mdx @@ -546,7 +546,7 @@ Creating an API Route also requires creating a service, which is a class that ty The Medusa Admin dashboard provides merchants with an easy-to-use interface to manage their store's data and settings. It's also extendable, so you can add widgets, pages, and setting pages relevant to your use case. -To add an interface that allows the admin user to upload digital products, you can create custom widgets or pages that use the routes you created. You can use the [Protected Files Upload API Route](https://docs.medusajs.com/api/admin#uploads_postuploadsprotected). +To add an interface that allows the admin user to upload digital products, you can create custom widgets or pages that use the routes you created. You can use the [Protected Files Upload API Route](https://docs.medusajs.com/v1/api/admin#uploads_postuploadsprotected). + ### validateFulfillmentData @@ -146,7 +146,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { ### validateOption -Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options\_postshippingoptions) is used. +Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options\_postshippingoptions) is used. #### Example @@ -306,9 +306,9 @@ class MyFulfillmentService extends FulfillmentService { ### createReturn Fulfillment providers can also be used to return products. A shipping option can be used for returns if the `is_return` property is true or if an admin creates a Return Shipping Option from the settings. -This method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders\_postordersorderreturns) for an order, -[creates a swap](https://docs.medusajs.com/api/admin#orders\_postordersorderswaps) for an order, or when the -[customer creates a return of their order](https://docs.medusajs.com/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. +This method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderreturns) for an order, +[creates a swap](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderswaps) for an order, or when the +[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. #### Example @@ -467,6 +467,6 @@ npm run build npx medusa develop ``` -3\. Enable your fulfillment provider in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/api/admin#regions_postregionsregionfulfillmentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-fulfillment-providers). +3\. Enable your fulfillment provider in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionfulfillmentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-fulfillment-providers). 4\. To test out your fulfillment provider implementation, create a cart and complete an order. You can do that either using the [Next.js starter](https://docs.medusajs.com/starters/nextjs-medusa-starter) or [using Medusa's APIs and clients](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-cart). diff --git a/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx b/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx index bd3449d303e21..5f236ecf5da05 100644 --- a/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx +++ b/www/apps/docs/content/references/fulfillment/interfaces/fulfillment.FulfillmentService.mdx @@ -31,7 +31,7 @@ export default MyFulfillmentService The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the fulfillment provider service is used when the fulfillment provider is added to the database. -The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions\_postregionsregionfulfillmentproviders) to a region. +The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionfulfillmentproviders) to a region. ```ts class MyFulfillmentService extends AbstractFulfillmentService { @@ -63,7 +63,7 @@ ___ ### getFulfillmentOptions -This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions\_getregionsregionfulfillmentoptions). +This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions\_getregionsregionfulfillmentoptions). For example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them. #### Example @@ -86,7 +86,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { #### Returns - + ### validateFulfillmentData @@ -129,7 +129,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { ### validateOption -Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options\_postshippingoptions) is used. +Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options\_postshippingoptions) is used. #### Example @@ -289,9 +289,9 @@ class MyFulfillmentService extends FulfillmentService { ### createReturn Fulfillment providers can also be used to return products. A shipping option can be used for returns if the `is_return` property is true or if an admin creates a Return Shipping Option from the settings. -This method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders\_postordersorderreturns) for an order, -[creates a swap](https://docs.medusajs.com/api/admin#orders\_postordersorderswaps) for an order, or when the -[customer creates a return of their order](https://docs.medusajs.com/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. +This method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderreturns) for an order, +[creates a swap](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderswaps) for an order, or when the +[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. #### Example diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AddressesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AddressesResource.mdx index f3b5df5bd4b02..8016ddf85bb29 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AddressesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AddressesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AddressesResource -This class is used to send requests to Address API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers\_postcustomers). All its method +This class is used to send requests to Address API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers\_postcustomers). All its method are available in the JS Client under the `medusa.customers.addresses` property. All methods in this class require [customer authentication](js_client.AuthResource.mdx#authenticate). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.Admin.mdx b/www/apps/docs/content/references/js_client/classes/js_client.Admin.mdx index a0d62449d355e..e2d7c63a165c2 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.Admin.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.Admin.mdx @@ -7,9 +7,9 @@ import TypeList from "@site/src/components/TypeList" # Admin -This class includes properties used to send requests to the [Admin API Routes](https://docs.medusajs.com/api/admin). All its properties +This class includes properties used to send requests to the [Admin API Routes](https://docs.medusajs.com/v1/api/admin). All its properties are available in the JS Client under the `medusa.admin` property. ## Properties - + diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx index 7d6102fe764ec..ada9106d4ca49 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminAuthResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminAuthResource -This class is used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth\_getauth). All its method +This class is used to send requests to [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth\_getauth). All its method are available in the JS Client under the `medusa.admin.auth` property. The methods in this class allow admin users to manage their session, such as login or log out. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx index b9240696b9dcd..d3737b37dd1e3 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminBatchJobsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminBatchJobsResource -This class is used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs). All its method +This class is used to send requests to [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs). All its method are available in the JS Client under the `medusa.admin.batchJobs` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx index eeba39399b3eb..c7b61c9df2987 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCollectionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminCollectionsResource -This class is used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections). All its method +This class is used to send requests to [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections). All its method are available in the JS Client under the `medusa.admin.collections` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx index 1c77322fa31d9..1de7e0fdc30d1 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCurrenciesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminCurrenciesResource -This class is used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies). All its method +This class is used to send requests to [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies). All its method are available in the JS Client under the `medusa.admin.currencies` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx index 2b69ed7535ad1..e8d88295e4ce6 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomerGroupsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminCustomerGroupsResource -This class is used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups). All its method +This class is used to send requests to [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups). All its method are available in the JS Client under the `medusa.admin.customerGroups` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx index 8dc367e4a6a4d..88dbd906242f6 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminCustomersResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminCustomersResource -This class is used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers). All its method +This class is used to send requests to [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers). All its method are available in the JS Client under the `medusa.admin.customers` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx index 6724179258235..72eabb147579f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminDiscountsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminDiscountsResource -This class is used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts). All its method +This class is used to send requests to [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts). All its method are available in the JS Client under the `medusa.admin.discounts` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx index 9a7223658000a..bcf5117a61f23 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminDraftOrdersResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminDraftOrdersResource -This class is used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders). All its method +This class is used to send requests to [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders). All its method are available in the JS Client under the `medusa.admin.draftOrders` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx index 9af157f139459..fab2d59b458ef 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminGiftCardsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminGiftCardsResource -This class is used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards). All its method +This class is used to send requests to [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards). All its method are available in the JS Client under the `medusa.admin.giftCards` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx index c133fdfe68db5..4307e6225129f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminInventoryItemsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminInventoryItemsResource -This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). To use these API Routes, make sure to install the +This class is used to send requests to [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). To use these API Routes, make sure to install the [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All its method are available in the JS Client under the `medusa.admin.inventoryItems` property. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx index 9943c7b800102..548e7e21a4efb 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminInvitesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminInvitesResource -This class is used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites). All its method +This class is used to send requests to [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites). All its method are available in the JS Client under the `medusa.admin.invites` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminNotesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminNotesResource.mdx index bce3b3ffb8f3c..7816d98d242b0 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminNotesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminNotesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminNotesResource -This class is used to send requests to [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes). All its method +This class is used to send requests to [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes). All its method are available in the JS Client under the `medusa.admin.notes` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx index dc4719e322dff..95ace205dfe1b 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminNotificationsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminNotificationsResource -This class is used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications). All its method +This class is used to send requests to [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications). All its method are available in the JS Client under the `medusa.admin.notifications` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx index 512d6b1b5c1bd..cb5867345f203 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrderEditsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminOrderEditsResource -This class is used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits). All its method +This class is used to send requests to [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits). All its method are available in the JS Client under the `medusa.admin.orderEdits` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx index 3125d94af0dde..f9432c4cc1693 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminOrdersResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminOrdersResource -This class is used to send requests to [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders). All its method +This class is used to send requests to [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders). All its method are available in the JS Client under the `medusa.admin.orders` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx index 71abe60f3b191..d0b3d7409abfd 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentCollectionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminPaymentCollectionsResource -This class is used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections). All its method +This class is used to send requests to [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections). All its method are available in the JS Client under the `medusa.admin.paymentCollections` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx index d7ebf9b066bca..997e2a68f43cb 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPaymentsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminPaymentsResource -This class is used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments). All its method +This class is used to send requests to [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments). All its method are available in the JS Client under the `medusa.admin.payments` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx index 206888d1f3d39..84973c8e060e7 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPriceListResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminPriceListResource -This class is used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists). All its method +This class is used to send requests to [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists). All its method are available in the JS Client under the `medusa.admin.priceLists` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx index 24282cee6a59a..f1a1f2eef7c0f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductCategoriesResource.mdx @@ -13,7 +13,7 @@ To use this resource, make sure to [enable its feature flag: product_categories] ::: -This class is used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories). All its method +This class is used to send requests to [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories). All its method are available in the JS Client under the `medusa.admin.productCategories` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTagsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTagsResource.mdx index 9cc30e86de50f..11eb4a123b9e1 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTagsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTagsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminProductTagsResource -This class is used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags). All its method +This class is used to send requests to [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags). All its method are available in the JS Client under the `medusa.admin.productTags` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTypesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTypesResource.mdx index ef20527ae5262..6e2c27973b4bd 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTypesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductTypesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminProductTypesResource -This class is used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types). All its method +This class is used to send requests to [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types). All its method are available in the JS Client under the `medusa.admin.productTypes` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx index cf2b29d40420d..260162decf3e0 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminProductsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminProductsResource -This class is used to send requests to [Admin Product API Routes](https://docs.medusajs.com/api/admin#products). All its method +This class is used to send requests to [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products). All its method are available in the JS Client under the `medusa.admin.products` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx index 2baf08c5e1da3..81b2636845ced 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminPublishableApiKeyResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminPublishableApiKeyResource -This class is used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys). All its method +This class is used to send requests to [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys). All its method are available in the JS Client under the `medusa.admin.publishableApiKeys` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx index f902ddb259741..8f2047671f32e 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminRegionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminRegionsResource -This class is used to send requests to [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions). All its method +This class is used to send requests to [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions). All its method are available in the JS Client under the `medusa.admin.regions` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx index c13b9a5d5da60..44cda19b2b4b8 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminReservationsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminReservationsResource -This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations). To use these API Routes, make sure to install the +This class is used to send requests to [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). To use these API Routes, make sure to install the [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). The methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx index 1c91dd9714746..dc34a9d076af8 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnReasonsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminReturnReasonsResource -This class is used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons). All its method +This class is used to send requests to [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons). All its method are available in the JS Client under the `medusa.admin.returnReasons` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx index bf076f67f3875..7d1f29badd830 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminReturnsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminReturnsResource -This class is used to send requests to [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns). All its method +This class is used to send requests to [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns). All its method are available in the JS Client under the `medusa.admin.returns` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx index e0e39689a2d1d..bb4c159cac241 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminSalesChannelsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminSalesChannelsResource -This class is used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels). All its method +This class is used to send requests to [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels). All its method are available in the JS Client under the `medusa.admin.salesChannels` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx index aea04631542ba..ee562ee089e9f 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingOptionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminShippingOptionsResource -This class is used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options). All its method +This class is used to send requests to [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options). All its method are available in the JS Client under the `medusa.admin.shippingOptions` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx index 58b0f411fc857..f04cedfe7a009 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminShippingProfilesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminShippingProfilesResource -This class is used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles). All its method +This class is used to send requests to [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles). All its method are available in the JS Client under the `medusa.admin.shippingProfiles` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx index c84acb0bc3e17..dcac8a82d7c60 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminStockLocationsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminStockLocationsResource -This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations). To use these API Routes, make sure to install the +This class is used to send requests to [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). To use these API Routes, make sure to install the [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). The methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx index 9a3cf90842ff6..8ca25e326e909 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminStoresResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminStoresResource -This class is used to send requests to [Admin Store API Routes](https://docs.medusajs.com/api/admin#store). All its method +This class is used to send requests to [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store). All its method are available in the JS Client under the `medusa.admin.store` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx index bea7977417c45..5f32ffab9efd7 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminSwapsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminSwapsResource -This class is used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps). All its method +This class is used to send requests to [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps). All its method are available in the JS Client under the `medusa.admin.swaps` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx index 827a53ddb2000..4d51bc7d3ae45 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminTaxRatesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminTaxRatesResource -This class is used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates). All its method +This class is used to send requests to [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates). All its method are available in the JS Client under the `medusa.admin.taxRates` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx index 38613b03e678a..5cb8c3525c0d4 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminUploadsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminUploadsResource -This class is used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads). All its method +This class is used to send requests to [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads). All its method are available in the JS Client under the `medusa.admin.uploads` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx index 7d1c55cda4621..f9f8a1c7820a1 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminUsersResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminUsersResource -This class is used to send requests to [Admin User API Routes](https://docs.medusajs.com/api/admin#users). All its method +This class is used to send requests to [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users). All its method are available in the JS Client under the `medusa.admin.users` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx index c2265e24b24a5..c1b38a7a25308 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AdminVariantsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AdminVariantsResource -This class is used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants). All its method +This class is used to send requests to [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants). All its method are available in the JS Client under the `medusa.admin.variants` property. All methods in this class require [user authentication](js_client.AdminAuthResource.mdx#createsession). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx index c99ea0b33119e..753b6e5159025 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.AuthResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # AuthResource -This class is used to send requests to [Store Auth API Routes](https://docs.medusajs.com/api/store#auth). All its method +This class is used to send requests to [Store Auth API Routes](https://docs.medusajs.com/v1/api/store#auth). All its method are available in the JS Client under the `medusa.auth` property. The methods in this class allows you to manage a customer's session, such as login or log out. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx index 2b1d9f376863e..52350141d1c5d 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.CartsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # CartsResource -This class is used to send requests to [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). All its method +This class is used to send requests to [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). All its method are available in the JS Client under the `medusa.carts` property. A cart is a virtual shopping bag that customers can use to add items they want to purchase. @@ -17,7 +17,7 @@ Related Guide: [How to implement cart functionality in your storefront](https:// ## Properties - + ___ diff --git a/www/apps/docs/content/references/js_client/classes/js_client.CollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.CollectionsResource.mdx index 864b8af0e5ea9..7ffb0868391df 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.CollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.CollectionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # CollectionsResource -This class is used to send requests to [Store Product Collection API Routes](https://docs.medusajs.com/api/store#product-collections). All its method +This class is used to send requests to [Store Product Collection API Routes](https://docs.medusajs.com/v1/api/store#product-collections). All its method are available in the JS Client under the `medusa.collections` property. A product collection is used to organize products for different purposes such as marketing or discount purposes. For example, you can create a Summer Collection. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx index 099246a032eab..5260d9983851a 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.CustomersResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # CustomersResource -This class is used to send requests to [Store Customer API Routes](https://docs.medusajs.com/api/store#customers\_postcustomers). All its method +This class is used to send requests to [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers\_postcustomers). All its method are available in the JS Client under the `medusa.customers` property. A customer can register and manage their information such as addresses, orders, payment methods, and more. @@ -16,7 +16,7 @@ Related Guide: [How to implement customer profiles in your storefront](https://d ## Properties - + ___ diff --git a/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx index fd1c320fdfd03..d735242c0fce1 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.GiftCardsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # GiftCardsResource -This class is used to send requests to [Store Gift Card API Routes](https://docs.medusajs.com/api/store#gift-cards). All its method +This class is used to send requests to [Store Gift Card API Routes](https://docs.medusajs.com/v1/api/store#gift-cards). All its method are available in the JS Client under the `medusa.giftCards` property. Customers can use gift cards during checkout to deduct the gift card's balance from the checkout total. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.LineItemsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.LineItemsResource.mdx index c33078beb30bd..faf89f67c3039 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.LineItemsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.LineItemsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # LineItemsResource -This class is used to send requests to Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). All its method +This class is used to send requests to Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). All its method are available in the JS Client under the `medusa.carts.lineItems` property. ## Methods diff --git a/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx index b1288300782ff..2d227764c03bc 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.OrderEditsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # OrderEditsResource -This class is used to send requests to [Store Order Edits API Routes](https://docs.medusajs.com/api/store#order-edits). All its method +This class is used to send requests to [Store Order Edits API Routes](https://docs.medusajs.com/v1/api/store#order-edits). All its method are available in the JS Client under the `medusa.orderEdits` property. Order edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx index 610020939a45a..953ee3fe2879e 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.OrdersResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # OrdersResource -This class is used to send requests to [Store Order API Routes](https://docs.medusajs.com/api/store#orders). All its method +This class is used to send requests to [Store Order API Routes](https://docs.medusajs.com/v1/api/store#orders). All its method are available in the JS Client under the `medusa.orders` property. Orders are purchases made by customers, typically through a storefront. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx index 892dc8d25d85b..c366f306b3ace 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.PaymentCollectionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # PaymentCollectionsResource -This class is used to send requests to [Store Payment Collection API Routes](https://docs.medusajs.com/api/store#payment-collections). All its method +This class is used to send requests to [Store Payment Collection API Routes](https://docs.medusajs.com/v1/api/store#payment-collections). All its method are available in the JS Client under the `medusa.paymentCollections` property. A payment collection is useful for managing additional payments, such as for Order Edits, or installment payments. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.PaymentMethodsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.PaymentMethodsResource.mdx index 6c6a9f2e9741c..d0b3c96c225d4 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.PaymentMethodsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.PaymentMethodsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # PaymentMethodsResource -This class is used to send requests to Payment Method API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers\_postcustomers). All its method +This class is used to send requests to Payment Method API Routes part of the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers\_postcustomers). All its method are available in the JS Client under the `medusa.customers.paymentMethods` property. All methods in this class require [customer authentication](js_client.AuthResource.mdx#authenticate). diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx index a8e190a56127c..68b63ab857179 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductCategoriesResource.mdx @@ -13,7 +13,7 @@ To use this resource, make sure to [enable its feature flag: product_categories] ::: -This class is used to send requests to [Store Product Category API Routes](https://docs.medusajs.com/api/store#product-categories\_getproductcategories). All its method +This class is used to send requests to [Store Product Category API Routes](https://docs.medusajs.com/v1/api/store#product-categories\_getproductcategories). All its method are available in the JS Client under the `medusa.productCategories` property. Products can be categoriezed into categories. A product can be associated more than one category. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductTagsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductTagsResource.mdx index 88898a6a99591..3f2c79f3ca9e6 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductTagsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductTagsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ProductTagsResource -This class is used to send requests to [Store Product Tag API Routes](https://docs.medusajs.com/api/store#product-tags). All its method +This class is used to send requests to [Store Product Tag API Routes](https://docs.medusajs.com/v1/api/store#product-tags). All its method are available in the JS Client under the `medusa.productTags` property. Product tags are string values that can be used to filter products by. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductTypesResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductTypesResource.mdx index e45c4859c83b2..f72ee8bc4fa64 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductTypesResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductTypesResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ProductTypesResource -This class is used to send requests to [Store Product Type API Routes](https://docs.medusajs.com/api/store#product-types). All its method +This class is used to send requests to [Store Product Type API Routes](https://docs.medusajs.com/v1/api/store#product-types). All its method are available in the JS Client under the `medusa.productTypes` property. Product types are string values that can be used to filter products by. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx index d8bdcbb9c08ec..2d31ebebc0b67 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductVariantsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ProductVariantsResource -This class is used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/api/store#product-variants). All its method +This class is used to send requests to [Store Product Variant API Routes](https://docs.medusajs.com/v1/api/store#product-variants). All its method are available in the JS Client under the `medusa.product.variants` property. Product variants are the actual salable item in your store. Each variant is a combination of the different option values available on the product. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx index c6ade166d41a3..0e98ed381742c 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ProductsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ProductsResource -This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/api/store#products). All its method +This class is used to send requests to [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). All its method are available in the JS Client under the `medusa.products` property. Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store. @@ -17,7 +17,7 @@ Related Guide: [How to show products in a storefront](https://docs.medusajs.com/ ## Properties - + ___ diff --git a/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx index c3be1a0dab7e5..bd7275558b5dc 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.RegionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # RegionsResource -This class is used to send requests to [Store Region API Routes](https://docs.medusajs.com/api/store#regions\_getregions). All its method +This class is used to send requests to [Store Region API Routes](https://docs.medusajs.com/v1/api/store#regions\_getregions). All its method are available in the JS Client under the `medusa.regions` property. Regions are different countries or geographical regions that the commerce store serves customers in. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ReturnReasonsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ReturnReasonsResource.mdx index 984f80b5ae31c..9d503d3648699 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ReturnReasonsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ReturnReasonsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ReturnReasonsResource -This class is used to send requests to [Store Return Reason API Routes](https://docs.medusajs.com/api/store#return-reasons). All its method +This class is used to send requests to [Store Return Reason API Routes](https://docs.medusajs.com/v1/api/store#return-reasons). All its method are available in the JS Client under the `medusa.returnReasons` property. Return reasons are key-value pairs that are used to specify why an order return is being created. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx index 4cb1b70d08220..73839af009d36 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ReturnsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ReturnsResource -This class is used to send requests to [Store Return API Routes](https://docs.medusajs.com/api/store#returns). All its method +This class is used to send requests to [Store Return API Routes](https://docs.medusajs.com/v1/api/store#returns). All its method are available in the JS Client under the `medusa.returns` property. A return can be created by a customer to return items in an order. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx index a4ac9c28f1571..af632e231e4e6 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.ShippingOptionsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # ShippingOptionsResource -This class is used to send requests to [Store Shipping Option API Routes](https://docs.medusajs.com/api/store#shipping-options). All its method +This class is used to send requests to [Store Shipping Option API Routes](https://docs.medusajs.com/v1/api/store#shipping-options). All its method are available in the JS Client under the `medusa.shippingOptions` property. A shipping option is used to define the available shipping methods during checkout or when creating a return. diff --git a/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx b/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx index 168b3433c083b..a7054796d1e0c 100644 --- a/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx +++ b/www/apps/docs/content/references/js_client/classes/js_client.SwapsResource.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # SwapsResource -This class is used to send requests to [Store Swap API Routes](https://docs.medusajs.com/api/store#swaps). All its method +This class is used to send requests to [Store Swap API Routes](https://docs.medusajs.com/v1/api/store#swaps). All its method are available in the JS Client under the `medusa.swaps` property. A swap is created by a customer or an admin to exchange an item with a new one. diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx index 9afd0404f5bab..e3717c256187e 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractFulfillmentService.mdx @@ -31,7 +31,7 @@ export default MyFulfillmentService The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the fulfillment provider service is used when the fulfillment provider is added to the database. -The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions\_postregionsregionfulfillmentproviders) to a region. +The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionfulfillmentproviders) to a region. ```ts class MyFulfillmentService extends AbstractFulfillmentService { @@ -75,7 +75,7 @@ ___ ## Properties -`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the class is used when the fulfillment provider is created in the database.\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions\\_postregionsregionfulfillmentproviders) to a region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"manager_","type":"`EntityManager`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionManager_","type":"`undefined` \\| `EntityManager`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"__container__","type":"`any`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__configModule__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__moduleDeclaration__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AbstractFulfillmentService"/> +`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the class is used when the fulfillment provider is created in the database.\nThe value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions\\_postregionsregionfulfillmentproviders) to a region.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"manager_","type":"`EntityManager`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"transactionManager_","type":"`undefined` \\| `EntityManager`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"__container__","type":"`any`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__configModule__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"__moduleDeclaration__","type":"`Record`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AbstractFulfillmentService"/> ___ @@ -93,7 +93,7 @@ ___ ### getFulfillmentOptions -This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions\_getregionsregionfulfillmentoptions). +This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions\_getregionsregionfulfillmentoptions). For example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them. #### Example @@ -116,7 +116,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { #### Returns - + ### validateFulfillmentData @@ -159,7 +159,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { ### validateOption -Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options\_postshippingoptions) is used. +Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options\_postshippingoptions) is used. #### Example @@ -319,9 +319,9 @@ class MyFulfillmentService extends FulfillmentService { ### createReturn Fulfillment providers can also be used to return products. A shipping option can be used for returns if the `is_return` property is true or if an admin creates a Return Shipping Option from the settings. -This method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders\_postordersorderreturns) for an order, -[creates a swap](https://docs.medusajs.com/api/admin#orders\_postordersorderswaps) for an order, or when the -[customer creates a return of their order](https://docs.medusajs.com/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. +This method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderreturns) for an order, +[creates a swap](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderswaps) for an order, or when the +[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. #### Example diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx index 0e402ec13789e..029c7f2d72365 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractNotificationService.mdx @@ -194,7 +194,7 @@ class EmailSenderService extends AbstractNotificationService { ### resendNotification This method is used to resend notifications, which is typically triggered by the -[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications\_postnotificationsnotificationresend). +[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications\_postnotificationsnotificationresend). #### Example @@ -228,7 +228,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx b/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx index 0b9e72e3878cd..791a9c0f3c846 100644 --- a/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx +++ b/www/apps/docs/content/references/medusa/classes/medusa.AbstractPaymentProcessor.mdx @@ -38,7 +38,7 @@ The methods of the payment processor are used at different points in the Checkou The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database. The value of this property is also used to reference the payment processor throughout Medusa. -For example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions\_postregionsregionpaymentproviders) to a region. +For example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionpaymentproviders) to a region. ```ts class MyPaymentService extends AbstractPaymentProcessor { @@ -140,7 +140,7 @@ ___ ## Properties -`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"_isPaymentProcessor","type":"`boolean`","description":"","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions\\_postregionsregionpaymentproviders) to a region.\n\n```ts\nclass MyPaymentService extends AbstractPaymentProcessor {\n static identifier = \"my-payment\"\n // ...\n}\n```","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AbstractPaymentProcessor"/> +`","description":"An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection)","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"_isPaymentProcessor","type":"`boolean`","description":"","optional":false,"defaultValue":"true","expandable":false,"children":[]},{"name":"identifier","type":"`string`","description":"The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database.\n\nThe value of this property is also used to reference the payment processor throughout Medusa.\nFor example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\\_postregionsregionpaymentproviders) to a region.\n\n```ts\nclass MyPaymentService extends AbstractPaymentProcessor {\n static identifier = \"my-payment\"\n // ...\n}\n```","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"config","type":"`Record`","description":"If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records" sectionTitle="AbstractPaymentProcessor"/> ___ @@ -160,7 +160,7 @@ ___ This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin. -This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentcapture). +This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentcapture). You can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment. @@ -203,7 +203,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### authorizePayment This method is used to authorize payment using the Payment Session of an order. This is called when the -[cart is completed](https://docs.medusajs.com/api/store#carts\_postcartscartcomplete) and before the order is created. +[cart is completed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartcomplete) and before the order is created. This method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection. You can interact with a third-party provider and perform any actions necessary to authorize the payment. @@ -317,7 +317,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### initiatePayment -This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsession), +This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsession), which occurs when the customer selects their preferred payment method during checkout. It is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer. @@ -363,8 +363,8 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases: -1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts\_deletecartscartpaymentsessionssession). -2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. +1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts\_deletecartscartpaymentsessionssession). +2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. 3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin. 4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region. @@ -440,7 +440,7 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it. -This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentrefunds). +This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentrefunds). You can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment. @@ -520,8 +520,8 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePayment This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated. -For example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts\_postcartscartlineitems) or when a -[shipping method is selected](https://docs.medusajs.com/api/store#carts\_postcartscartshippingmethod). +For example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts\_postcartscartlineitems) or when a +[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartshippingmethod). #### Example @@ -567,7 +567,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePaymentData This method is used to update the `data` field of a payment session. It's called when a request is sent to the -[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. +[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. This method can also be used to update the data in the third-party payment provider, if necessary. diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx index 3931d608251f4..0d12f40b16ed3 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.FulfillmentService.mdx @@ -31,7 +31,7 @@ export default MyFulfillmentService The `FulfillmentProvider` entity has 2 properties: `identifier` and `is_installed`. The `identifier` property in the fulfillment provider service is used when the fulfillment provider is added to the database. -The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/api/admin#regions\_postregionsregionfulfillmentproviders) to a region. +The value of this property is also used to reference the fulfillment provider throughout Medusa. For example, it is used to [add a fulfillment provider](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionfulfillmentproviders) to a region. ```ts class MyFulfillmentService extends AbstractFulfillmentService { @@ -63,7 +63,7 @@ ___ ### getFulfillmentOptions -This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/api/admin#regions\_getregionsregionfulfillmentoptions). +This method is used when retrieving the list of fulfillment options available in a region, particularly by the [List Fulfillment Options API Route](https://docs.medusajs.com/v1/api/admin#regions\_getregionsregionfulfillmentoptions). For example, if you’re integrating UPS as a fulfillment provider, you might support two fulfillment options: UPS Express Shipping and UPS Access Point. Each of these options can have different data associated with them. #### Example @@ -86,7 +86,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { #### Returns - + ### validateFulfillmentData @@ -129,7 +129,7 @@ class MyFulfillmentService extends AbstractFulfillmentService { ### validateOption -Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/api/admin#shipping-options\_postshippingoptions) is used. +Once the admin creates the shipping option, the data of the shipping option will be validated first using this method. This method is called when the [Create Shipping Option API Route](https://docs.medusajs.com/v1/api/admin#shipping-options\_postshippingoptions) is used. #### Example @@ -289,9 +289,9 @@ class MyFulfillmentService extends FulfillmentService { ### createReturn Fulfillment providers can also be used to return products. A shipping option can be used for returns if the `is_return` property is true or if an admin creates a Return Shipping Option from the settings. -This method is used when the admin [creates a return request](https://docs.medusajs.com/api/admin#orders\_postordersorderreturns) for an order, -[creates a swap](https://docs.medusajs.com/api/admin#orders\_postordersorderswaps) for an order, or when the -[customer creates a return of their order](https://docs.medusajs.com/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. +This method is used when the admin [creates a return request](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderreturns) for an order, +[creates a swap](https://docs.medusajs.com/v1/api/admin#orders\_postordersorderswaps) for an order, or when the +[customer creates a return of their order](https://docs.medusajs.com/v1/api/store#returns\_postreturns). The fulfillment is created automatically for the order return. #### Example diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx index f7cacb0a550d1..aa6004e1478e4 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.INotificationService.mdx @@ -149,7 +149,7 @@ class EmailSenderService extends AbstractNotificationService { ### resendNotification This method is used to resend notifications, which is typically triggered by the -[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications\_postnotificationsnotificationresend). +[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications\_postnotificationsnotificationresend). #### Example @@ -183,7 +183,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx b/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx index fdbdd577c6f46..694496ef4aa46 100644 --- a/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx +++ b/www/apps/docs/content/references/medusa/interfaces/medusa.PaymentProcessor.mdx @@ -38,7 +38,7 @@ The methods of the payment processor are used at different points in the Checkou The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database. The value of this property is also used to reference the payment processor throughout Medusa. -For example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions\_postregionsregionpaymentproviders) to a region. +For example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionpaymentproviders) to a region. ```ts class MyPaymentService extends AbstractPaymentProcessor { @@ -109,7 +109,7 @@ abstract class StripeBase extends AbstractPaymentProcessor { ### initiatePayment -This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsession), +This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsession), which occurs when the customer selects their preferred payment method during checkout. It is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer. @@ -154,8 +154,8 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePayment This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated. -For example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts\_postcartscartlineitems) or when a -[shipping method is selected](https://docs.medusajs.com/api/store#carts\_postcartscartshippingmethod). +For example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts\_postcartscartlineitems) or when a +[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartshippingmethod). #### Example @@ -202,7 +202,7 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it. -This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentrefunds). +This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentrefunds). You can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment. @@ -246,7 +246,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### authorizePayment This method is used to authorize payment using the Payment Session of an order. This is called when the -[cart is completed](https://docs.medusajs.com/api/store#carts\_postcartscartcomplete) and before the order is created. +[cart is completed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartcomplete) and before the order is created. This method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection. You can interact with a third-party provider and perform any actions necessary to authorize the payment. @@ -316,7 +316,7 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin. -This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentcapture). +This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentcapture). You can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment. @@ -360,8 +360,8 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases: -1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts\_deletecartscartpaymentsessionssession). -2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. +1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts\_deletecartscartpaymentsessionssession). +2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. 3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin. 4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region. @@ -518,7 +518,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePaymentData This method is used to update the `data` field of a payment session. It's called when a request is sent to the -[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. +[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. This method can also be used to update the data in the third-party payment provider, if necessary. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx index f1e45c475b465..c4202e0d2656c 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Auth.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Auth -Queries and mutations listed here are used to send requests to the [Admin Auth API Routes](https://docs.medusajs.com/api/admin#auth\_getauth). +Queries and mutations listed here are used to send requests to the [Admin Auth API Routes](https://docs.medusajs.com/v1/api/admin#auth\_getauth). They allow admin users to manage their session, such as login or log out. You can send authenticated requests for an admin user either using the Cookie header, their API token, or the JWT Token. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx index a5791cc78498d..df729edf0f3ce 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Batch_Jobs.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Batch Jobs -Queries and mutations listed here are used to send requests to the [Admin Batch Job API Routes](https://docs.medusajs.com/api/admin#batch-jobs). +Queries and mutations listed here are used to send requests to the [Admin Batch Job API Routes](https://docs.medusajs.com/v1/api/admin#batch-jobs). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx index a95542ee0d0ed..e54f28a6794cf 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Claims.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Claims -Mutations listed here are used to send requests to the [Admin Order API Routes related to claims](https://docs.medusajs.com/api/admin#orders). +Mutations listed here are used to send requests to the [Admin Order API Routes related to claims](https://docs.medusajs.com/v1/api/admin#orders). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx index cd8723e3b1394..b615ce41d75bd 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Currencies.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Currencies -Queries and Mutations listed here are used to send requests to the [Admin Currency API Routes](https://docs.medusajs.com/api/admin#currencies). +Queries and Mutations listed here are used to send requests to the [Admin Currency API Routes](https://docs.medusajs.com/v1/api/admin#currencies). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx index 9c6a423b4d09f..42ada09711c34 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customer_Groups.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Customer Groups -Queries and Mutations listed here are used to send requests to the [Admin Customer Group API Routes](https://docs.medusajs.com/api/admin#customer-groups). +Queries and Mutations listed here are used to send requests to the [Admin Customer Group API Routes](https://docs.medusajs.com/v1/api/admin#customer-groups). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx index f593a0d37d515..cf928174f647d 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Customers.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Customers -Queries and Mutations listed here are used to send requests to the [Admin Customer API Routes](https://docs.medusajs.com/api/admin#customers). +Queries and Mutations listed here are used to send requests to the [Admin Customer API Routes](https://docs.medusajs.com/v1/api/admin#customers). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx index 44bff0f3e6160..8d7b2c7602c44 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Discounts.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Discounts -Queries and Mutations listed here are used to send requests to the [Admin Discount API Routes](https://docs.medusajs.com/api/admin#discounts). +Queries and Mutations listed here are used to send requests to the [Admin Discount API Routes](https://docs.medusajs.com/v1/api/admin#discounts). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx index 92994018fb4d9..85ba2aff7122d 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Draft_Orders.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Draft Orders -Queries and Mutations listed here are used to send requests to the [Admin Draft Order API Routes](https://docs.medusajs.com/api/admin#draft-orders). +Queries and Mutations listed here are used to send requests to the [Admin Draft Order API Routes](https://docs.medusajs.com/v1/api/admin#draft-orders). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx index 836facb07f45e..b0755b453820a 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Gift_Cards.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Gift Cards -Queries and Mutations listed here are used to send requests to the [Admin Gift Card API Routes](https://docs.medusajs.com/api/admin#gift-cards). +Queries and Mutations listed here are used to send requests to the [Admin Gift Card API Routes](https://docs.medusajs.com/v1/api/admin#gift-cards). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx index 86f336eac9996..6c692a8c004af 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Inventory_Items.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Inventory Items -Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/api/admin#inventory-items). +Queries and Mutations listed here are used to send requests to the [Admin Inventory Item API Routes](https://docs.medusajs.com/v1/api/admin#inventory-items). To use these hooks, make sure to install the [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx index 117e36e6bea8a..6ad3e76572c80 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Invites.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Invites -Queries and Mutations listed here are used to send requests to the [Admin Invite API Routes](https://docs.medusajs.com/api/admin#invites). +Queries and Mutations listed here are used to send requests to the [Admin Invite API Routes](https://docs.medusajs.com/v1/api/admin#invites). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notes.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notes.mdx index b577cdb00218b..f750af46fb2a4 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notes.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notes.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Notes -Queries and Mutations listed here are used to send requests to the [Admin Note API Routes](https://docs.medusajs.com/api/admin#notes). +Queries and Mutations listed here are used to send requests to the [Admin Note API Routes](https://docs.medusajs.com/v1/api/admin#notes). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx index a7a8c197b0f40..13db9b91c782f 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Notifications.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Notifications -Queries and Mutations listed here are used to send requests to the [Admin Notification API Routes](https://docs.medusajs.com/api/admin#notifications). +Queries and Mutations listed here are used to send requests to the [Admin Notification API Routes](https://docs.medusajs.com/v1/api/admin#notifications). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx index 8fff6656826e8..7e2bab8386331 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Order_Edits.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Order Edits -Queries and Mutations listed here are used to send requests to the [Admin Order Edit API Routes](https://docs.medusajs.com/api/admin#order-edits). +Queries and Mutations listed here are used to send requests to the [Admin Order Edit API Routes](https://docs.medusajs.com/v1/api/admin#order-edits). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx index 9c4600e3989a1..d176294df583b 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Orders.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Orders -Queries and Mutations listed here are used to send requests to the [Admin Order API Routes](https://docs.medusajs.com/api/admin#orders). +Queries and Mutations listed here are used to send requests to the [Admin Order API Routes](https://docs.medusajs.com/v1/api/admin#orders). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payment_Collections.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payment_Collections.mdx index a985ead92aa37..10656da2e6e2b 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payment_Collections.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payment_Collections.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Payment Collections -Queries and Mutations listed here are used to send requests to the [Admin Payment Collection API Routes](https://docs.medusajs.com/api/admin#payment-collections). +Queries and Mutations listed here are used to send requests to the [Admin Payment Collection API Routes](https://docs.medusajs.com/v1/api/admin#payment-collections). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payments.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payments.mdx index b9614a587df26..569c8251c77dc 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payments.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Payments.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Payments -Queries and Mutations listed here are used to send requests to the [Admin Payment API Routes](https://docs.medusajs.com/api/admin#payments). +Queries and Mutations listed here are used to send requests to the [Admin Payment API Routes](https://docs.medusajs.com/v1/api/admin#payments). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx index 3451ffb0dbcb0..89bc393700856 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Price_Lists.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Price Lists -Queries and Mutations listed here are used to send requests to the [Admin Price List API Routes](https://docs.medusajs.com/api/admin#price-lists). +Queries and Mutations listed here are used to send requests to the [Admin Price List API Routes](https://docs.medusajs.com/v1/api/admin#price-lists). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx index b573bd2ec14d0..4a9a172e72d48 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Categories.mdx @@ -13,7 +13,7 @@ To use this resource, make sure to [enable its feature flag: product_categories] ::: -Queries and Mutations listed here are used to send requests to the [Admin Product Category API Routes](https://docs.medusajs.com/api/admin#product-categories). +Queries and Mutations listed here are used to send requests to the [Admin Product Category API Routes](https://docs.medusajs.com/v1/api/admin#product-categories). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx index 0e5c7a2823e5e..676b5a6b36012 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Collections.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Collections -Queries and Mutations listed here are used to send requests to the [Admin Product Collection API Routes](https://docs.medusajs.com/api/admin#product-collections). +Queries and Mutations listed here are used to send requests to the [Admin Product Collection API Routes](https://docs.medusajs.com/v1/api/admin#product-collections). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Tags.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Tags.mdx index dc85d9e215f07..2c22bfd0d27cb 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Tags.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Tags.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Tags -Queries and Mutations listed here are used to send requests to the [Admin Product Tag API Routes](https://docs.medusajs.com/api/admin#product-tags). +Queries and Mutations listed here are used to send requests to the [Admin Product Tag API Routes](https://docs.medusajs.com/v1/api/admin#product-tags). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Types.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Types.mdx index 0d3f10f0d22d6..98b6bb6d9e6b6 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Types.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Types.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Types -Queries and Mutations listed here are used to send requests to the [Admin Product Type API Routes](https://docs.medusajs.com/api/admin#product-types). +Queries and Mutations listed here are used to send requests to the [Admin Product Type API Routes](https://docs.medusajs.com/v1/api/admin#product-types). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx index 1b9ab57f20f6f..e35dd35284d96 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Product_Variants.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Variants -Queries listed here are used to send requests to the [Admin Product Variant API Routes](https://docs.medusajs.com/api/admin#product-variants). +Queries listed here are used to send requests to the [Admin Product Variant API Routes](https://docs.medusajs.com/v1/api/admin#product-variants). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx index f862faff73e34..2e6edea9ea851 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Products.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Products -Queries and Mutations listed here are used to send requests to the [Admin Product API Routes](https://docs.medusajs.com/api/admin#products). +Queries and Mutations listed here are used to send requests to the [Admin Product API Routes](https://docs.medusajs.com/v1/api/admin#products). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx index bb287a751e1c1..eee5e0a17b3fa 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Publishable_API_Keys.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Publishable API Keys -Queries and Mutations listed here are used to send requests to the [Admin Publishable API Key API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys). +Queries and Mutations listed here are used to send requests to the [Admin Publishable API Key API Routes](https://docs.medusajs.com/v1/api/admin#publishable-api-keys). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx index a9314117c47bc..c910833b70226 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Regions.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Regions -Queries and Mutations listed here are used to send requests to the [Admin Region API Routes](https://docs.medusajs.com/api/admin#regions). +Queries and Mutations listed here are used to send requests to the [Admin Region API Routes](https://docs.medusajs.com/v1/api/admin#regions). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx index fc226dfbd0e7b..80829a6951092 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Reservations.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Reservations -Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/api/admin#reservations). +Queries and Mutations listed here are used to send requests to the [Admin Reservation API Routes](https://docs.medusajs.com/v1/api/admin#reservations). To use these hooks, make sure to install the [@medusajs/inventory](https://docs.medusajs.com/modules/multiwarehouse/install-modules#inventory-module) module in your Medusa backend. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx index 5de79c79e0964..7c478485cf284 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Return_Reasons.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Return Reasons -Queries and Mutations listed here are used to send requests to the [Admin Return Reason API Routes](https://docs.medusajs.com/api/admin#return-reasons). +Queries and Mutations listed here are used to send requests to the [Admin Return Reason API Routes](https://docs.medusajs.com/v1/api/admin#return-reasons). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx index 2fabff22318fb..7c3eb0f2b3fa6 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Returns.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Returns -Queries and Mutations listed here are used to send requests to the [Admin Return API Routes](https://docs.medusajs.com/api/admin#returns). +Queries and Mutations listed here are used to send requests to the [Admin Return API Routes](https://docs.medusajs.com/v1/api/admin#returns). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx index f70b35c725346..e065de9080f4c 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Sales_Channels.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Sales Channels -Queries and Mutations listed here are used to send requests to the [Admin Sales Channel API Routes](https://docs.medusajs.com/api/admin#sales-channels). +Queries and Mutations listed here are used to send requests to the [Admin Sales Channel API Routes](https://docs.medusajs.com/v1/api/admin#sales-channels). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx index 3daca469868fb..fffabc51f2c07 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Options.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Shipping Options -Queries and Mutations listed here are used to send requests to the [Admin Shipping Option API Routes](https://docs.medusajs.com/api/admin#shipping-options). +Queries and Mutations listed here are used to send requests to the [Admin Shipping Option API Routes](https://docs.medusajs.com/v1/api/admin#shipping-options). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx index 6464bf4a89493..f1e451f8b545c 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Shipping_Profiles.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Shipping Profiles -Queries and Mutations listed here are used to send requests to the [Admin Shipping Profile API Routes](https://docs.medusajs.com/api/admin#shipping-profiles). +Queries and Mutations listed here are used to send requests to the [Admin Shipping Profile API Routes](https://docs.medusajs.com/v1/api/admin#shipping-profiles). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx index 756d2236893d4..3c02acba16d98 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stock_Locations.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Stock Locations -Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/api/admin#stock-locations). +Queries and Mutations listed here are used to send requests to the [Admin Stock Location API Routes](https://docs.medusajs.com/v1/api/admin#stock-locations). To use these hooks, make sure to install the [@medusajs/stock-location](https://docs.medusajs.com/modules/multiwarehouse/install-modules#stock-location-module) module in your Medusa backend. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx index eae3fb5f9469c..6d3b05fe1a8a7 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Stores.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Stores -Queries and Mutations listed here are used to send requests to the [Admin Store API Routes](https://docs.medusajs.com/api/admin#store). +Queries and Mutations listed here are used to send requests to the [Admin Store API Routes](https://docs.medusajs.com/v1/api/admin#store). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx index efc64676a7920..6f2780f05d374 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Swaps.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Swaps -Queries and Mutations listed here are used to send requests to the [Admin Swap API Routes](https://docs.medusajs.com/api/admin#swaps). +Queries and Mutations listed here are used to send requests to the [Admin Swap API Routes](https://docs.medusajs.com/v1/api/admin#swaps). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx index d387bce2b1485..fc329fbe8fde5 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Tax_Rates.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Tax Rates -Queries and Mutations listed here are used to send requests to the [Admin Tax Rate API Routes](https://docs.medusajs.com/api/admin#tax-rates). +Queries and Mutations listed here are used to send requests to the [Admin Tax Rate API Routes](https://docs.medusajs.com/v1/api/admin#tax-rates). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx index 5bbc452d4fab3..e39cf9b92a8a1 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Uploads.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Uploads -Mutations listed here are used to send requests to the [Admin Upload API Routes](https://docs.medusajs.com/api/admin#uploads). +Mutations listed here are used to send requests to the [Admin Upload API Routes](https://docs.medusajs.com/v1/api/admin#uploads). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx index cc868f45943ef..39e7e54afa6bb 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Admin/medusa_react.Hooks.Admin.Users.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Users -Queries and Mutations listed here are used to send requests to the [Admin User API Routes](https://docs.medusajs.com/api/admin#users). +Queries and Mutations listed here are used to send requests to the [Admin User API Routes](https://docs.medusajs.com/v1/api/admin#users). All hooks listed require [user authentication](medusa_react.Hooks.Admin.Auth.mdx#useadminlogin). diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx index 2a093b903be21..16f2663ef74ba 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Carts.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Carts -Queries and Mutations listed here are used to send requests to the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). +Queries and Mutations listed here are used to send requests to the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). A cart is a virtual shopping bag that customers can use to add items they want to purchase. A cart is then used to checkout and place an order. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx index 74ba38f07fbc4..594153fab2d29 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Customers.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Customers -Queries and Mutations listed here are used to send requests to the [Store Customer API Routes](https://docs.medusajs.com/api/store#customers\_postcustomers). +Queries and Mutations listed here are used to send requests to the [Store Customer API Routes](https://docs.medusajs.com/v1/api/store#customers\_postcustomers). A customer can register and manage their information such as addresses, orders, payment methods, and more. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx index f08bfa2416c5f..a4eded6b5d3f0 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Gift_Cards.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Gift Cards -Queries listed here are used to send requests to the [Store Gift Card API Routes](https://docs.medusajs.com/api/store#gift-cards). +Queries listed here are used to send requests to the [Store Gift Card API Routes](https://docs.medusajs.com/v1/api/store#gift-cards). Customers can use gift cards during checkout to deduct the gift card's balance from the checkout total. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Line_Items.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Line_Items.mdx index ee3848ea85272..f3667a09d36bb 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Line_Items.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Line_Items.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Line Items -Mutations listed here are used to send requests to the Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/api/store#carts). +Mutations listed here are used to send requests to the Line Item API Routes part of the [Store Cart API Routes](https://docs.medusajs.com/v1/api/store#carts). The hooks listed have general examples on how to use them, but it's highly recommended to use the [CartProvider](../../Providers/medusa_react.Providers.Cart.mdx#cartprovider) provider and the [useCart](../../Providers/medusa_react.Providers.Cart.mdx#usecart) hook to manage your cart and access the current cart across your application. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx index 53a0c5565d2fe..97552a1c48903 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Order_Edits.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Order Edits -Queries and Mutations listed here are used to send requests to the [Store Order Edits API Routes](https://docs.medusajs.com/api/store#order-edits). +Queries and Mutations listed here are used to send requests to the [Store Order Edits API Routes](https://docs.medusajs.com/v1/api/store#order-edits). Order edits are changes made to items in an order such as adding, updating their quantity, or deleting them. Order edits are created by the admin. A customer can review order edit requests created by an admin and confirm or decline them. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx index 2060c716793d7..34079c61a5de9 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Orders.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Orders -Queries and Mutations listed here are used to send requests to the [Store Order API Routes](https://docs.medusajs.com/api/store#orders). +Queries and Mutations listed here are used to send requests to the [Store Order API Routes](https://docs.medusajs.com/v1/api/store#orders). Orders are purchases made by customers, typically through a storefront. Orders are placed and created using [cart](medusa_react.Hooks.Store.Carts.mdx) hooks. The listed hooks allow retrieving and claiming orders. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Payment_Collections.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Payment_Collections.mdx index a94f5941b39bc..3f875a106f61f 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Payment_Collections.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Payment_Collections.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Payment Collections -Queries and Mutations listed here are used to send requests to the [Store Payment Collection API Routes](https://docs.medusajs.com/api/store#payment-collections). +Queries and Mutations listed here are used to send requests to the [Store Payment Collection API Routes](https://docs.medusajs.com/v1/api/store#payment-collections). A payment collection is useful for managing additional payments, such as for Order Edits, or installment payments. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx index 6454a94d3f21f..d05310756154a 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Categories.mdx @@ -13,7 +13,7 @@ To use this resource, make sure to [enable its feature flag: product_categories] ::: -Queries listed here are used to send requests to the [Store Product Category API Routes](https://docs.medusajs.com/api/store#product-categories\_getproductcategories). +Queries listed here are used to send requests to the [Store Product Category API Routes](https://docs.medusajs.com/v1/api/store#product-categories\_getproductcategories). Products can be categoriezed into categories. A product can be associated more than one category. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Collections.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Collections.mdx index f1b95746542f3..0cead90ba1870 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Collections.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Collections.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Collections -Queries listed here are used to send requests to the [Store Product Collection API Routes](https://docs.medusajs.com/api/store#product-collections). +Queries listed here are used to send requests to the [Store Product Collection API Routes](https://docs.medusajs.com/v1/api/store#product-collections). A product collection is used to organize products for different purposes such as marketing or discount purposes. For example, you can create a Summer Collection. Using the methods in this class, you can list or retrieve a collection's details and products. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Tags.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Tags.mdx index b535294755bbb..4a93ef0991de4 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Tags.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Tags.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Tags -Queries listed here are used to send requests to the [Store Product Tag API Routes](https://docs.medusajs.com/api/store#product-tags). +Queries listed here are used to send requests to the [Store Product Tag API Routes](https://docs.medusajs.com/v1/api/store#product-tags). Product tags are string values that can be used to filter products by. Products can have more than one tag, and products can share tags. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Types.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Types.mdx index 85db4314e786a..5c058621ef00f 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Types.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Product_Types.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Product Types -Queries listed here are used to send requests to the [Store Product Type API Routes](https://docs.medusajs.com/api/store#product-types). +Queries listed here are used to send requests to the [Store Product Type API Routes](https://docs.medusajs.com/v1/api/store#product-types). Product types are string values that can be used to filter products by. Products can have more than one tag, and products can share types. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx index b4a719e5a05c5..85fb079c546da 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Products.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Products -Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/api/store#products). +Queries listed here are used to send requests to the [Store Product API Routes](https://docs.medusajs.com/v1/api/store#products). Products are saleable items in a store. This also includes [saleable gift cards](https://docs.medusajs.com/modules/gift-cards/storefront/use-gift-cards) in a store. Using the methods in this class, you can filter products by categories, collections, sales channels, and more. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx index c4cab239e0daf..2a299be3f239f 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Regions.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Regions -Queries listed here are used to send requests to the [Store Region API Routes](https://docs.medusajs.com/api/store#regions\_getregions). +Queries listed here are used to send requests to the [Store Region API Routes](https://docs.medusajs.com/v1/api/store#regions\_getregions). Regions are different countries or geographical regions that the commerce store serves customers in. Customers can choose what region they're in, which can be used to change the prices shown based on the region and its currency. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Return_Reasons.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Return_Reasons.mdx index f0d17b2136ad2..9dc64a992035a 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Return_Reasons.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Return_Reasons.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Return Reasons -Queries listed here are used to send requests to the [Store Return Reason API Routes](https://docs.medusajs.com/api/store#return-reasons). +Queries listed here are used to send requests to the [Store Return Reason API Routes](https://docs.medusajs.com/v1/api/store#return-reasons). Return reasons are key-value pairs that are used to specify why an order return is being created. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx index 75da7f301db2a..4ec9d7505910a 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Returns.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Returns -Mutations listed here are used to send requests to the [Store Return API Routes](https://docs.medusajs.com/api/store#returns). +Mutations listed here are used to send requests to the [Store Return API Routes](https://docs.medusajs.com/v1/api/store#returns). A return can be created by a customer to return items in an order. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx index d7f2a5cfb8095..3f954e4a9221f 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Shipping_Options.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Shipping Options -Queries listed here are used to send requests to the [Store Shipping Option API Routes](https://docs.medusajs.com/api/store#shipping-options). +Queries listed here are used to send requests to the [Store Shipping Option API Routes](https://docs.medusajs.com/v1/api/store#shipping-options). A shipping option is used to define the available shipping methods during checkout or when creating a return. diff --git a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx index a6f9134d9168e..43ebae2702382 100644 --- a/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx +++ b/www/apps/docs/content/references/medusa_react/Hooks/Store/medusa_react.Hooks.Store.Swaps.mdx @@ -7,7 +7,7 @@ import TypeList from "@site/src/components/TypeList" # Swaps -Queries and Mutations listed here are used to send requests to the [Store Swap API Routes](https://docs.medusajs.com/api/store#swaps). +Queries and Mutations listed here are used to send requests to the [Store Swap API Routes](https://docs.medusajs.com/v1/api/store#swaps). A swap is created by a customer or an admin to exchange an item with a new one. Creating a swap implicitely includes creating a return for the item being exchanged. diff --git a/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx b/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx index b3223a482a3b4..eaa2d9c7dc2c2 100644 --- a/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx +++ b/www/apps/docs/content/references/medusa_react/Providers/medusa_react.Providers.Medusa.mdx @@ -86,7 +86,7 @@ The `Storefront` component and its child components can now use hooks exposed by ### Parameters -`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProvider"/> +`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProvider"/> ### Returns diff --git a/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx b/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx index d7695fbe136cf..25993f0e0b2b0 100644 --- a/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx +++ b/www/apps/docs/content/references/medusa_react/interfaces/medusa_react.MedusaProviderProps.mdx @@ -8,4 +8,4 @@ import TypeList from "@site/src/components/TypeList" ## Properties -`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProviderProps"/> +`","description":"An object of custom headers to pass with every request. Each key of the object is the name of the header, and its value is the header's value.","optional":true,"defaultValue":"`{}`","expandable":false,"children":[]},{"name":"medusaClient","type":"`Medusa`","description":"An instance of the Medusa JS Client. If you don't provide an instance, one will be created using the `baseUrl`, `apiKey`, \n`publishableApiKey`, `maxRetries`, and `customHeaders` props.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/medusa-react/overview#expanding-fields" sectionTitle="MedusaProviderProps"/> diff --git a/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx b/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx index 13854851949be..d5c9fe39c23bf 100644 --- a/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx +++ b/www/apps/docs/content/references/notification/classes/notification.AbstractNotificationService.mdx @@ -181,7 +181,7 @@ class EmailSenderService extends AbstractNotificationService { ### resendNotification This method is used to resend notifications, which is typically triggered by the -[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications\_postnotificationsnotificationresend). +[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications\_postnotificationsnotificationresend). #### Example @@ -215,7 +215,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns @@ -271,7 +271,7 @@ npm run build npx medusa develop ``` -3\. Place an order either using the [REST APIs](https://docs.medusajs.com/api/store) or using the [storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). +3\. Place an order either using the [REST APIs](https://docs.medusajs.com/v1/api/store) or using the [storefront](https://docs.medusajs.com/starters/nextjs-medusa-starter). 4\. After placing an order, you can see in your console the message “Notification Sent”. If you added your own notification sending logic, you should receive an email or alternatively the type of notification you’ve set up. @@ -281,8 +281,8 @@ npx medusa develop To test resending a notification: -1. Retrieve the ID of the notification you just sent using the [List Notifications API Route](https://docs.medusajs.com/api/admin#notifications_getnotifications). You can pass as a body parameter the `to` or `event_name` parameters to filter out the notification you just sent. +1. Retrieve the ID of the notification you just sent using the [List Notifications API Route](https://docs.medusajs.com/v1/api/admin#notifications_getnotifications). You can pass as a body parameter the `to` or `event_name` parameters to filter out the notification you just sent. -2. Send a request to the [Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications_postnotificationsnotificationresend) using the ID retrieved from the previous request. You can pass the `to` parameter in the body to change the receiver of the notification. +2. Send a request to the [Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications_postnotificationsnotificationresend) using the ID retrieved from the previous request. You can pass the `to` parameter in the body to change the receiver of the notification. 3. You should see the message “Notification Resent” in your console. diff --git a/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx b/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx index 5be051c6daa68..087dc2d8d94fa 100644 --- a/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx +++ b/www/apps/docs/content/references/notification/interfaces/notification.INotificationService.mdx @@ -149,7 +149,7 @@ class EmailSenderService extends AbstractNotificationService { ### resendNotification This method is used to resend notifications, which is typically triggered by the -[Resend Notification API Route](https://docs.medusajs.com/api/admin#notifications\_postnotificationsnotificationresend). +[Resend Notification API Route](https://docs.medusajs.com/v1/api/admin#notifications\_postnotificationsnotificationresend). #### Example @@ -183,7 +183,7 @@ class EmailSenderService extends AbstractNotificationService { #### Parameters - + #### Returns diff --git a/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx b/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx index eda7e389313e1..e89b8db812637 100644 --- a/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx +++ b/www/apps/docs/content/references/payment/classes/payment.AbstractPaymentProcessor.mdx @@ -41,7 +41,7 @@ The methods of the payment processor are used at different points in the Checkou The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database. The value of this property is also used to reference the payment processor throughout Medusa. -For example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions\_postregionsregionpaymentproviders) to a region. +For example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionpaymentproviders) to a region. ```ts class MyPaymentService extends AbstractPaymentProcessor { @@ -147,7 +147,7 @@ ___ This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin. -This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentcapture). +This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentcapture). You can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment. @@ -190,7 +190,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### authorizePayment This method is used to authorize payment using the Payment Session of an order. This is called when the -[cart is completed](https://docs.medusajs.com/api/store#carts\_postcartscartcomplete) and before the order is created. +[cart is completed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartcomplete) and before the order is created. This method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection. You can interact with a third-party provider and perform any actions necessary to authorize the payment. @@ -304,7 +304,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### initiatePayment -This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsession), +This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsession), which occurs when the customer selects their preferred payment method during checkout. It is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer. @@ -350,8 +350,8 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases: -1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts\_deletecartscartpaymentsessionssession). -2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. +1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts\_deletecartscartpaymentsessionssession). +2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. 3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin. 4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region. @@ -427,7 +427,7 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it. -This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentrefunds). +This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentrefunds). You can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment. @@ -507,8 +507,8 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePayment This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated. -For example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts\_postcartscartlineitems) or when a -[shipping method is selected](https://docs.medusajs.com/api/store#carts\_postcartscartshippingmethod). +For example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts\_postcartscartlineitems) or when a +[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartshippingmethod). #### Example @@ -554,7 +554,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePaymentData This method is used to update the `data` field of a payment session. It's called when a request is sent to the -[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. +[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. This method can also be used to update the data in the third-party payment provider, if necessary. @@ -628,6 +628,6 @@ npm run build npx medusa develop ``` -3\. Enable your payment processor in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/api/admin#regions_postregionsregionpaymentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-payment-providers). +3\. Enable your payment processor in one or more regions. You can do that either using the [Admin APIs](https://docs.medusajs.com/v1/api/admin#regions_postregionsregionpaymentproviders) or the [Medusa Admin](https://docs.medusajs.com/user-guide/regions/providers#manage-payment-providers). 4\. There are different ways to test out your payment processor, such as authorizing payment on order completion or capturing payment of an order. You test payment in a checkout flow either using the [Next.js starter](https://docs.medusajs.com/starters/nextjs-medusa-starter) or [using Medusa's APIs and clients](https://docs.medusajs.com/modules/carts-and-checkout/storefront/implement-checkout-flow). diff --git a/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx b/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx index b67a6f7d3b0c7..852360fab2b2e 100644 --- a/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx +++ b/www/apps/docs/content/references/payment/interfaces/payment.PaymentProcessor.mdx @@ -38,7 +38,7 @@ The methods of the payment processor are used at different points in the Checkou The `PaymentProvider` entity has 2 properties: `id` and `is_installed`. The `identifier` property in the payment processor service is used when the payment processor is added to the database. The value of this property is also used to reference the payment processor throughout Medusa. -For example, it is used to [add a payment processor](https://docs.medusajs.com/api/admin#regions\_postregionsregionpaymentproviders) to a region. +For example, it is used to [add a payment processor](https://docs.medusajs.com/v1/api/admin#regions\_postregionsregionpaymentproviders) to a region. ```ts class MyPaymentService extends AbstractPaymentProcessor { @@ -109,7 +109,7 @@ abstract class StripeBase extends AbstractPaymentProcessor { ### initiatePayment -This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsession), +This method is called either if a region has only one payment provider enabled or when [a Payment Session is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsession), which occurs when the customer selects their preferred payment method during checkout. It is used to allow you to make any necessary calls to the third-party provider to initialize the payment. For example, in Stripe this method is used to create a Payment Intent for the customer. @@ -154,8 +154,8 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePayment This method is used to update the payment session when the payment amount changes. It's called whenever the cart or any of its related data is updated. -For example, when a [line item is added to the cart](https://docs.medusajs.com/api/store#carts\_postcartscartlineitems) or when a -[shipping method is selected](https://docs.medusajs.com/api/store#carts\_postcartscartshippingmethod). +For example, when a [line item is added to the cart](https://docs.medusajs.com/v1/api/store#carts\_postcartscartlineitems) or when a +[shipping method is selected](https://docs.medusajs.com/v1/api/store#carts\_postcartscartshippingmethod). #### Example @@ -202,7 +202,7 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to refund an order’s payment. This is typically triggered manually by the store operator from the admin. The refund amount might be the total order amount or part of it. -This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentrefunds). +This method is also used for refunding payments of a swap or a claim of an order, or when a request is sent to the [Refund Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentrefunds). You can utilize this method to interact with the third-party provider and perform any actions necessary to refund the payment. @@ -246,7 +246,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### authorizePayment This method is used to authorize payment using the Payment Session of an order. This is called when the -[cart is completed](https://docs.medusajs.com/api/store#carts\_postcartscartcomplete) and before the order is created. +[cart is completed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartcomplete) and before the order is created. This method is also used for authorizing payments of a swap of an order and when authorizing sessions in a payment collection. You can interact with a third-party provider and perform any actions necessary to authorize the payment. @@ -316,7 +316,7 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to capture the payment amount of an order. This is typically triggered manually by the store operator from the admin. -This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/api/admin#payments\_postpaymentspaymentcapture). +This method is also used for capturing payments of a swap of an order, or when a request is sent to the [Capture Payment API Route](https://docs.medusajs.com/v1/api/admin#payments\_postpaymentspaymentcapture). You can utilize this method to interact with the third-party provider and perform any actions necessary to capture the payment. @@ -360,8 +360,8 @@ class MyPaymentService extends AbstractPaymentProcessor { This method is used to perform any actions necessary before a Payment Session is deleted. The Payment Session is deleted in one of the following cases: -1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/api/store#carts\_deletecartscartpaymentsessionssession). -2. When the [Payment Session is refreshed](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. +1. When a request is sent to [delete the Payment Session](https://docs.medusajs.com/v1/api/store#carts\_deletecartscartpaymentsessionssession). +2. When the [Payment Session is refreshed](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionssession). The Payment Session is deleted so that a newer one is initialized instead. 3. When the Payment Processor is no longer available. This generally happens when the store operator removes it from the available Payment Processor in the admin. 4. When the region of the store is changed based on the cart information and the Payment Processor is not available in the new region. @@ -518,7 +518,7 @@ class MyPaymentService extends AbstractPaymentProcessor { ### updatePaymentData This method is used to update the `data` field of a payment session. It's called when a request is sent to the -[Update Payment Session API Route](https://docs.medusajs.com/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. +[Update Payment Session API Route](https://docs.medusajs.com/v1/api/store#carts\_postcartscartpaymentsessionupdate), or when the `CartService`'s `updatePaymentSession` is used. This method can also be used to update the data in the third-party payment provider, if necessary. diff --git a/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx b/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx index 6446bcf338467..0476dc81dd4b2 100644 --- a/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx +++ b/www/apps/docs/content/references/search/classes/search.AbstractSearchService.mdx @@ -335,7 +335,7 @@ class MySearchService extends AbstractSearchService { This method is used to search through an index by a query. -In the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/api/store#products\_postproductssearch) +In the Medusa backend, this method is used within the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products\_postproductssearch) to retrieve the search results. The API route's response type is an array of items, though the item's format is not defined as it depends on the data returned by this method. @@ -424,4 +424,4 @@ npm run build npx medusa develop ``` -4\. Try to search for products either using the [Search Products API Route](https://docs.medusajs.com/api/store#products_postproductssearch). The results returned by your search service's `search` method is returned in the `hits` response field. +4\. Try to search for products either using the [Search Products API Route](https://docs.medusajs.com/v1/api/store#products_postproductssearch). The results returned by your search service's `search` method is returned in the `hits` response field. diff --git a/www/apps/docs/content/starters/nextjs-medusa-starter.mdx b/www/apps/docs/content/starters/nextjs-medusa-starter.mdx index 60d376640ee50..92035010b7d43 100644 --- a/www/apps/docs/content/starters/nextjs-medusa-starter.mdx +++ b/www/apps/docs/content/starters/nextjs-medusa-starter.mdx @@ -338,6 +338,6 @@ You can learn more about development with Next.js through [their documentation]( ## See Also -- [Storefront API reference](https://docs.medusajs.com/api/store) +- [Storefront API reference](https://docs.medusajs.com/v1/api/store) - [Install Medusa Admin](../admin/quickstart.mdx). - [Install Stripe as a payment processor](../plugins/payment/stripe.mdx#add-to-nextjs-storefront) diff --git a/www/apps/docs/content/storefront/roadmap.mdx b/www/apps/docs/content/storefront/roadmap.mdx index 68691fb8f22a1..3441971fb4d46 100644 --- a/www/apps/docs/content/storefront/roadmap.mdx +++ b/www/apps/docs/content/storefront/roadmap.mdx @@ -29,7 +29,7 @@ The storefront connects to the backend to retrieve and process data. You can use - **For React-based storefronts:** you can use [Medusa React](../medusa-react/overview.mdx). It provides you with the necessary hooks to retrieve or manipulate data on your backend. - **For JavaScript frameworks:** you can use [Medusa’s JavaScript Client](../js-client/overview.mdx) in any JavaScript framework. This NPM package facilitates interacting with the backend’s REST APIs. -- **For other frontend technologies:** you can interact directly with the Medusa backend by sending requests to its [Store REST APIs](https://docs.medusajs.com/api/store). +- **For other frontend technologies:** you can interact directly with the Medusa backend by sending requests to its [Store REST APIs](https://docs.medusajs.com/v1/api/store). :::tip @@ -187,7 +187,7 @@ Medusa’s backend provides much more functionalities, such as allowing customer }, { type: 'link', - href: 'https://docs.medusajs.com/api/store', + href: 'https://docs.medusajs.com/v1/api/store', label: 'Store API reference', customProps: { icon: Icons['academic-cap-solid'], diff --git a/www/apps/docs/docusaurus.config.js b/www/apps/docs/docusaurus.config.js index fd47acd6ffdf9..5ebbd7cfe9326 100644 --- a/www/apps/docs/docusaurus.config.js +++ b/www/apps/docs/docusaurus.config.js @@ -13,7 +13,7 @@ const config = { title: "Medusa", tagline: "Explore and learn how to use Medusa", url: "https://docs.medusajs.com", - baseUrl: "/", + baseUrl: process.env.BASE_PATH || "/v1", onBrokenLinks: "throw", onBrokenMarkdownLinks: "throw", favicon: "img/favicon.ico", @@ -203,33 +203,26 @@ const config = { position: "left", }, { - href: `${process.env.API_URL}/api/store`, + href: `${process.env.API_URL}/v1/api/store`, label: "Store API", prependBaseUrlToHref: true, target: "_blank", position: "left", }, { - href: `${process.env.API_URL}/api/admin`, + href: `${process.env.API_URL}/v1/api/admin`, label: "Admin API", prependBaseUrlToHref: true, target: "_blank", position: "left", }, - { - href: `${process.env.API_URL}/ui`, - label: "UI", - prependBaseUrlToHref: true, - target: "_blank", - position: "left", - }, { type: "html", position: "left", value: "
", }, { - href: `https://docs.medusajs.com/v2`, + href: `https://docs.medusajs.com`, html: "
Learn Medusa v2New
", target: "_blank", position: "left", diff --git a/www/apps/docs/src/theme/NotFound/Content/index.tsx b/www/apps/docs/src/theme/NotFound/Content/index.tsx index cbe4b21c928ee..14b6d41934864 100644 --- a/www/apps/docs/src/theme/NotFound/Content/index.tsx +++ b/www/apps/docs/src/theme/NotFound/Content/index.tsx @@ -49,12 +49,12 @@ export default function NotFoundContent({ className }: Props): JSX.Element {
  • - + Storefront REST API Reference
  • - + Admin REST API Reference
  • diff --git a/www/apps/docs/src/utils/learning-paths.tsx b/www/apps/docs/src/utils/learning-paths.tsx index a8a435a2ec97c..5295b325e6f61 100644 --- a/www/apps/docs/src/utils/learning-paths.tsx +++ b/www/apps/docs/src/utils/learning-paths.tsx @@ -645,7 +645,7 @@ const paths: LearningPathType[] = [ Nuxt storefront.
  • - + Store REST APIs : You can send requests directly to the API Routes without using @@ -729,7 +729,7 @@ const paths: LearningPathType[] = [
  • You can also checkout the{" "} - + Store REST APIs {" "} for a full list of available REST APIs. diff --git a/www/packages/docs-ui/src/utils/learning-paths.tsx b/www/packages/docs-ui/src/utils/learning-paths.tsx index db0a72b0521cd..194b9374dfb0e 100644 --- a/www/packages/docs-ui/src/utils/learning-paths.tsx +++ b/www/packages/docs-ui/src/utils/learning-paths.tsx @@ -646,7 +646,7 @@ const paths: LearningPathType[] = [ Nuxt storefront.
  • - + Store REST APIs : You can send requests directly to the API Routes without using @@ -730,7 +730,7 @@ const paths: LearningPathType[] = [
  • You can also checkout the{" "} - + Store REST APIs {" "} for a full list of available REST APIs. From 1ae9d9e09303266932268a3fedb1a45dc814ba1b Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 11:28:55 +0300 Subject: [PATCH 02/10] fix build error --- www/apps/api-reference/app/algolia/route.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/apps/api-reference/app/algolia/route.ts b/www/apps/api-reference/app/algolia/route.ts index 6723fe19d3337..18ef7241b2fe5 100644 --- a/www/apps/api-reference/app/algolia/route.ts +++ b/www/apps/api-reference/app/algolia/route.ts @@ -1,12 +1,12 @@ import OpenAPIParser from "@readme/openapi-parser" import algoliasearch from "algoliasearch" -import type { ExpandedDocument, Operation } from "../../../types/openapi" +import type { ExpandedDocument, Operation } from "../../types/openapi" import path from "path" -import getPathsOfTag from "../../../utils/get-paths-of-tag" -import getSectionId from "../../../utils/get-section-id" +import getPathsOfTag from "../../utils/get-paths-of-tag" +import getSectionId from "../../utils/get-section-id" import { NextResponse } from "next/server" import { JSDOM } from "jsdom" -import getUrl from "../../../utils/get-url" +import getUrl from "../../utils/get-url" import { capitalize } from "docs-ui" export async function GET() { From 907115ac3b495402271360d3b87fca509ca9210c Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 12:27:27 +0300 Subject: [PATCH 03/10] add trailing slash --- www/apps/docs/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/docs/docusaurus.config.js b/www/apps/docs/docusaurus.config.js index 5ebbd7cfe9326..e01fa83958f41 100644 --- a/www/apps/docs/docusaurus.config.js +++ b/www/apps/docs/docusaurus.config.js @@ -13,7 +13,7 @@ const config = { title: "Medusa", tagline: "Explore and learn how to use Medusa", url: "https://docs.medusajs.com", - baseUrl: process.env.BASE_PATH || "/v1", + baseUrl: process.env.BASE_PATH || "/v1/", onBrokenLinks: "throw", onBrokenMarkdownLinks: "throw", favicon: "img/favicon.ico", From 886199a617bed130225d2a5690d749ac9d8f0b6d Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 13:24:22 +0300 Subject: [PATCH 04/10] force docusaurus version --- www/apps/docs/package.json | 14 +++++++------- www/packages/eslint-config-docs/package.json | 2 +- www/packages/tsconfig/package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/www/apps/docs/package.json b/www/apps/docs/package.json index 07fe2ff9d43fb..8c9085b87a9ce 100644 --- a/www/apps/docs/package.json +++ b/www/apps/docs/package.json @@ -22,10 +22,10 @@ "@babel/preset-react": "^7.18.6", "@cloudinary/react": "^1.11.2", "@cloudinary/url-gen": "^1.9.2", - "@docusaurus/core": "latest", - "@docusaurus/preset-classic": "latest", - "@docusaurus/remark-plugin-npm2yarn": "latest", - "@docusaurus/theme-mermaid": "latest", + "@docusaurus/core": "3.1.1", + "@docusaurus/preset-classic": "3.1.1", + "@docusaurus/remark-plugin-npm2yarn": "3.1.1", + "@docusaurus/theme-mermaid": "3.1.1", "@mdx-js/mdx": "3.0.0", "@mdx-js/react": "3", "@medusajs/icons": "^1.2.0", @@ -66,9 +66,9 @@ }, "devDependencies": { "@babel/plugin-proposal-decorators": "^7.22.15", - "@docusaurus/module-type-aliases": "latest", - "@docusaurus/tsconfig": "latest", - "@docusaurus/types": "latest", + "@docusaurus/module-type-aliases": "3.1.1", + "@docusaurus/tsconfig": "3.1.1", + "@docusaurus/types": "3.1.1", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@types/react-transition-group": "^4.4.6", diff --git a/www/packages/eslint-config-docs/package.json b/www/packages/eslint-config-docs/package.json index 0d5649c715795..f2bab78e6b154 100644 --- a/www/packages/eslint-config-docs/package.json +++ b/www/packages/eslint-config-docs/package.json @@ -6,7 +6,7 @@ "main": "base.js", "dependencies": { "@babel/eslint-parser": "^7.22.15", - "@docusaurus/eslint-plugin": "^3.1.0", + "@docusaurus/eslint-plugin": "3.1.1", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "eslint-config-google": "^0.14.0", diff --git a/www/packages/tsconfig/package.json b/www/packages/tsconfig/package.json index 90c52ae13e9d3..e1f258f4ce33a 100644 --- a/www/packages/tsconfig/package.json +++ b/www/packages/tsconfig/package.json @@ -7,6 +7,6 @@ "access": "public" }, "dependencies": { - "@docusaurus/tsconfig": "latest" + "@docusaurus/tsconfig": "3.1.1" } } From 825e75da9e6c119c81dd629621b10d079e848c9b Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 13:32:14 +0300 Subject: [PATCH 05/10] update yarn lock --- www/yarn.lock | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/www/yarn.lock b/www/yarn.lock index a2c030a84d175..83e2cb1d82f8e 100644 --- a/www/yarn.lock +++ b/www/yarn.lock @@ -3007,7 +3007,7 @@ __metadata: languageName: node linkType: hard -"@docusaurus/core@npm:3.1.1, @docusaurus/core@npm:latest": +"@docusaurus/core@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/core@npm:3.1.1" dependencies: @@ -3101,15 +3101,15 @@ __metadata: languageName: node linkType: hard -"@docusaurus/eslint-plugin@npm:^3.1.0": - version: 3.1.0 - resolution: "@docusaurus/eslint-plugin@npm:3.1.0" +"@docusaurus/eslint-plugin@npm:3.1.1": + version: 3.1.1 + resolution: "@docusaurus/eslint-plugin@npm:3.1.1" dependencies: "@typescript-eslint/utils": ^5.62.0 tslib: ^2.6.0 peerDependencies: eslint: ">=6" - checksum: da76c3a90dea7d147a4fbc4d056bc90e2c2a417c3eac99a51c6d019923cc6ce8841cebcc58305313e108de1f481d6d52ec2b54b0fc100397165273ad1f082f01 + checksum: f074596b75ed1de9fb3bca89292b24afecfe0582b61b5234d8a5e5f1952f14a451bb597d178b743d7f877bb927310eecdc2459c7d730fe8e836221de7ad2741d languageName: node linkType: hard @@ -3160,7 +3160,7 @@ __metadata: languageName: node linkType: hard -"@docusaurus/module-type-aliases@npm:3.1.1, @docusaurus/module-type-aliases@npm:latest": +"@docusaurus/module-type-aliases@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/module-type-aliases@npm:3.1.1" dependencies: @@ -3335,7 +3335,7 @@ __metadata: languageName: node linkType: hard -"@docusaurus/preset-classic@npm:latest": +"@docusaurus/preset-classic@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/preset-classic@npm:3.1.1" dependencies: @@ -3371,7 +3371,7 @@ __metadata: languageName: node linkType: hard -"@docusaurus/remark-plugin-npm2yarn@npm:latest": +"@docusaurus/remark-plugin-npm2yarn@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/remark-plugin-npm2yarn@npm:3.1.1" dependencies: @@ -3446,7 +3446,7 @@ __metadata: languageName: node linkType: hard -"@docusaurus/theme-mermaid@npm:latest": +"@docusaurus/theme-mermaid@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/theme-mermaid@npm:3.1.1" dependencies: @@ -3501,14 +3501,14 @@ __metadata: languageName: node linkType: hard -"@docusaurus/tsconfig@npm:latest": +"@docusaurus/tsconfig@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/tsconfig@npm:3.1.1" checksum: 5325ae169c19e155bdaf5b3e5da7ef6d3300a8f24e6271d76c4ae1671c2e385c4d60df72640c8ddd9f640213eeadeb59a16c60fe60b4fe34f70f66da9fa59186 languageName: node linkType: hard -"@docusaurus/types@npm:3.1.1, @docusaurus/types@npm:latest": +"@docusaurus/types@npm:3.1.1": version: 3.1.1 resolution: "@docusaurus/types@npm:3.1.1" dependencies: @@ -12255,13 +12255,13 @@ __metadata: "@babel/preset-react": ^7.18.6 "@cloudinary/react": ^1.11.2 "@cloudinary/url-gen": ^1.9.2 - "@docusaurus/core": latest - "@docusaurus/module-type-aliases": latest - "@docusaurus/preset-classic": latest - "@docusaurus/remark-plugin-npm2yarn": latest - "@docusaurus/theme-mermaid": latest - "@docusaurus/tsconfig": latest - "@docusaurus/types": latest + "@docusaurus/core": 3.1.1 + "@docusaurus/module-type-aliases": 3.1.1 + "@docusaurus/preset-classic": 3.1.1 + "@docusaurus/remark-plugin-npm2yarn": 3.1.1 + "@docusaurus/theme-mermaid": 3.1.1 + "@docusaurus/tsconfig": 3.1.1 + "@docusaurus/types": 3.1.1 "@mdx-js/mdx": 3.0.0 "@mdx-js/react": 3 "@medusajs/icons": ^1.2.0 @@ -13068,7 +13068,7 @@ __metadata: resolution: "eslint-config-docs@workspace:packages/eslint-config-docs" dependencies: "@babel/eslint-parser": ^7.22.15 - "@docusaurus/eslint-plugin": ^3.1.0 + "@docusaurus/eslint-plugin": 3.1.1 "@typescript-eslint/eslint-plugin": ^6.18.1 "@typescript-eslint/parser": ^6.18.1 eslint: ^8.36.0 @@ -22689,7 +22689,7 @@ __metadata: version: 0.0.0-use.local resolution: "tsconfig@workspace:packages/tsconfig" dependencies: - "@docusaurus/tsconfig": latest + "@docusaurus/tsconfig": 3.1.1 languageName: unknown linkType: soft From 5a537dfddb4493bc9ee33a256f4dfbcfafc6fb66 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 15:48:23 +0300 Subject: [PATCH 06/10] updated docusaurus to latest version --- www/apps/docs/.gitignore | 3 +- www/apps/docs/package.json | 14 +- www/apps/docs/src/theme/DocCard/index.tsx | 2 +- .../docs/src/theme/DocItem/Content/index.tsx | 2 +- .../docs/src/theme/DocItem/Footer/index.tsx | 2 +- .../docs/src/theme/DocItem/Layout/index.tsx | 10 +- .../src/theme/DocRoot/Layout/Main/index.tsx | 2 +- .../theme/DocRoot/Layout/Sidebar/index.tsx | 2 +- .../docs/src/theme/DocRoot/Layout/index.tsx | 2 +- www/apps/docs/src/theme/DocRoot/index.tsx | 9 +- .../theme/DocSidebarItem/Category/index.tsx | 4 +- .../src/theme/DocSidebarItem/Link/index.tsx | 2 +- www/apps/docs/src/theme/MDXComponents/H1.tsx | 2 +- www/apps/docs/src/theme/TOCItems/index.tsx | 2 +- .../docs/src/utils/get-first-category-item.ts | 2 +- www/packages/eslint-config-docs/package.json | 2 +- www/packages/tsconfig/package.json | 2 +- www/yarn.lock | 2734 +++++++++++++---- 18 files changed, 2183 insertions(+), 615 deletions(-) diff --git a/www/apps/docs/.gitignore b/www/apps/docs/.gitignore index bd8b75baea658..29e2edd340e85 100644 --- a/www/apps/docs/.gitignore +++ b/www/apps/docs/.gitignore @@ -24,4 +24,5 @@ yarn-error.log* !.yarn/plugins !.yarn/releases !.yarn/sdks -!.yarn/versions \ No newline at end of file +!.yarn/versions +.vercel diff --git a/www/apps/docs/package.json b/www/apps/docs/package.json index 8c9085b87a9ce..c1df6fe0ec84c 100644 --- a/www/apps/docs/package.json +++ b/www/apps/docs/package.json @@ -22,10 +22,10 @@ "@babel/preset-react": "^7.18.6", "@cloudinary/react": "^1.11.2", "@cloudinary/url-gen": "^1.9.2", - "@docusaurus/core": "3.1.1", - "@docusaurus/preset-classic": "3.1.1", - "@docusaurus/remark-plugin-npm2yarn": "3.1.1", - "@docusaurus/theme-mermaid": "3.1.1", + "@docusaurus/core": "^3.5.2", + "@docusaurus/preset-classic": "^3.5.2", + "@docusaurus/remark-plugin-npm2yarn": "^3.5.2", + "@docusaurus/theme-mermaid": "^3.5.2", "@mdx-js/mdx": "3.0.0", "@mdx-js/react": "3", "@medusajs/icons": "^1.2.0", @@ -66,9 +66,9 @@ }, "devDependencies": { "@babel/plugin-proposal-decorators": "^7.22.15", - "@docusaurus/module-type-aliases": "3.1.1", - "@docusaurus/tsconfig": "3.1.1", - "@docusaurus/types": "3.1.1", + "@docusaurus/module-type-aliases": "^3.5.2", + "@docusaurus/tsconfig": "^3.5.2", + "@docusaurus/types": "^3.5.2", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", "@types/react-transition-group": "^4.4.6", diff --git a/www/apps/docs/src/theme/DocCard/index.tsx b/www/apps/docs/src/theme/DocCard/index.tsx index 4788a0fa68c0e..60c0dd3090000 100644 --- a/www/apps/docs/src/theme/DocCard/index.tsx +++ b/www/apps/docs/src/theme/DocCard/index.tsx @@ -4,7 +4,7 @@ import Link from "@docusaurus/Link" import { findFirstSidebarItemLink, useDocById, -} from "@docusaurus/theme-common/internal" +} from "@docusaurus/plugin-content-docs/client" import isInternalUrl from "@docusaurus/isInternalUrl" import { translate } from "@docusaurus/Translate" import { diff --git a/www/apps/docs/src/theme/DocItem/Content/index.tsx b/www/apps/docs/src/theme/DocItem/Content/index.tsx index d73d5f2f37699..b24987de2c161 100644 --- a/www/apps/docs/src/theme/DocItem/Content/index.tsx +++ b/www/apps/docs/src/theme/DocItem/Content/index.tsx @@ -1,7 +1,7 @@ import React from "react" import clsx from "clsx" import { ThemeClassNames } from "@docusaurus/theme-common" -import { useDoc } from "@docusaurus/theme-common/internal" +import { useDoc } from "@docusaurus/plugin-content-docs/client" import Heading from "@theme/Heading" import MDXContent from "@theme/MDXContent" import type { Props } from "@theme/DocItem/Content" diff --git a/www/apps/docs/src/theme/DocItem/Footer/index.tsx b/www/apps/docs/src/theme/DocItem/Footer/index.tsx index b8dc30d4201ae..eef41ec0d7fac 100644 --- a/www/apps/docs/src/theme/DocItem/Footer/index.tsx +++ b/www/apps/docs/src/theme/DocItem/Footer/index.tsx @@ -2,7 +2,7 @@ import React from "react" import Footer from "@theme-original/DocItem/Footer" import type FooterType from "@theme/DocItem/Footer" import type { WrapperProps } from "@docusaurus/types" -import { useDoc } from "@docusaurus/theme-common/internal" +import { useDoc } from "@docusaurus/plugin-content-docs/client" import { useThemeConfig } from "@docusaurus/theme-common" import type { ThemeConfig } from "@medusajs/docs" import Feedback from "../../../components/Feedback" diff --git a/www/apps/docs/src/theme/DocItem/Layout/index.tsx b/www/apps/docs/src/theme/DocItem/Layout/index.tsx index 843581c68f28f..5e70721892cf1 100644 --- a/www/apps/docs/src/theme/DocItem/Layout/index.tsx +++ b/www/apps/docs/src/theme/DocItem/Layout/index.tsx @@ -1,7 +1,7 @@ import React from "react" import clsx from "clsx" import { useWindowSize } from "@docusaurus/theme-common" -import { useDoc } from "@docusaurus/theme-common/internal" +import { useDoc } from "@docusaurus/plugin-content-docs/client" import DocItemPaginator from "@theme/DocItem/Paginator" import DocVersionBanner from "@theme/DocVersionBanner" import DocVersionBadge from "@theme/DocVersionBadge" @@ -10,7 +10,7 @@ import DocItemTOCMobile from "@theme/DocItem/TOC/Mobile" import DocItemTOCDesktop from "@theme/DocItem/TOC/Desktop" import DocItemContent from "@theme/DocItem/Content" import DocBreadcrumbs from "@theme/DocBreadcrumbs" -import Unlisted from "@theme/Unlisted" +import ContentVisibility from "@theme/ContentVisibility" import type { Props } from "@theme/DocItem/Layout" import { useSidebar } from "../../../providers/Sidebar" import Footer from "@theme/Footer" @@ -41,9 +41,7 @@ function useDocTOC() { export default function DocItemLayout({ children }: Props): JSX.Element { const docTOC = useDocTOC() - const { - metadata: { unlisted }, - } = useDoc() + const { metadata } = useDoc() const sidebarContext = useSidebar() return (
    @@ -55,7 +53,7 @@ export default function DocItemLayout({ children }: Props): JSX.Element { !sidebarContext?.hiddenSidebarContainer && "!max-w-[720px]" )} > - {unlisted && } +
    *:first-child]:mt-0")}> diff --git a/www/apps/docs/src/theme/DocRoot/Layout/Main/index.tsx b/www/apps/docs/src/theme/DocRoot/Layout/Main/index.tsx index 4f65a4f7cf4b5..5530da9a63d4d 100644 --- a/www/apps/docs/src/theme/DocRoot/Layout/Main/index.tsx +++ b/www/apps/docs/src/theme/DocRoot/Layout/Main/index.tsx @@ -1,6 +1,6 @@ import React from "react" import clsx from "clsx" -import { useDocsSidebar } from "@docusaurus/theme-common/internal" +import { useDocsSidebar } from "@docusaurus/plugin-content-docs/client" import type { Props } from "@theme/DocRoot/Layout/Main" import { useSidebar } from "../../../../providers/Sidebar" diff --git a/www/apps/docs/src/theme/DocRoot/Layout/Sidebar/index.tsx b/www/apps/docs/src/theme/DocRoot/Layout/Sidebar/index.tsx index 6ef6e5dcff271..d663d34d6399f 100644 --- a/www/apps/docs/src/theme/DocRoot/Layout/Sidebar/index.tsx +++ b/www/apps/docs/src/theme/DocRoot/Layout/Sidebar/index.tsx @@ -1,7 +1,7 @@ import React, { type ReactNode, useRef } from "react" import clsx from "clsx" import { ThemeClassNames } from "@docusaurus/theme-common" -import { useDocsSidebar } from "@docusaurus/theme-common/internal" +import { useDocsSidebar } from "@docusaurus/plugin-content-docs/client" import { useLocation } from "@docusaurus/router" import DocSidebar from "@theme/DocSidebar" import type { Props } from "@theme/DocRoot/Layout/Sidebar" diff --git a/www/apps/docs/src/theme/DocRoot/Layout/index.tsx b/www/apps/docs/src/theme/DocRoot/Layout/index.tsx index 085debaec2ca2..7ebdcb6495431 100644 --- a/www/apps/docs/src/theme/DocRoot/Layout/index.tsx +++ b/www/apps/docs/src/theme/DocRoot/Layout/index.tsx @@ -1,5 +1,5 @@ import React from "react" -import { useDocsSidebar } from "@docusaurus/theme-common/internal" +import { useDocsSidebar } from "@docusaurus/plugin-content-docs/client" import BackToTopButton from "@theme/BackToTopButton" import DocRootLayoutSidebar from "@theme/DocRoot/Layout/Sidebar" import DocRootLayoutMain from "@theme/DocRoot/Layout/Main" diff --git a/www/apps/docs/src/theme/DocRoot/index.tsx b/www/apps/docs/src/theme/DocRoot/index.tsx index e5cc96c621158..d89baf14ab127 100644 --- a/www/apps/docs/src/theme/DocRoot/index.tsx +++ b/www/apps/docs/src/theme/DocRoot/index.tsx @@ -1,3 +1,10 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + import React from "react" import clsx from "clsx" import { @@ -7,7 +14,7 @@ import { import { DocsSidebarProvider, useDocRootMetadata, -} from "@docusaurus/theme-common/internal" +} from "@docusaurus/plugin-content-docs/client" import DocRootLayout from "@theme/DocRoot/Layout" import NotFoundContent from "@theme/NotFound/Content" import type { Props } from "@theme/DocRoot" diff --git a/www/apps/docs/src/theme/DocSidebarItem/Category/index.tsx b/www/apps/docs/src/theme/DocSidebarItem/Category/index.tsx index a59c4c095d976..a1f457d9533a3 100644 --- a/www/apps/docs/src/theme/DocSidebarItem/Category/index.tsx +++ b/www/apps/docs/src/theme/DocSidebarItem/Category/index.tsx @@ -7,12 +7,12 @@ import { Collapsible, useCollapsible, } from "@docusaurus/theme-common" +import { isSamePath } from "@docusaurus/theme-common/internal" import { isActiveSidebarItem, findFirstSidebarItemLink, useDocSidebarItemsExpandedState, - isSamePath, -} from "@docusaurus/theme-common/internal" +} from "@docusaurus/plugin-content-docs/client" import Link from "@docusaurus/Link" import { translate } from "@docusaurus/Translate" import useIsBrowser from "@docusaurus/useIsBrowser" diff --git a/www/apps/docs/src/theme/DocSidebarItem/Link/index.tsx b/www/apps/docs/src/theme/DocSidebarItem/Link/index.tsx index f33533740c9ce..28be94165faf1 100644 --- a/www/apps/docs/src/theme/DocSidebarItem/Link/index.tsx +++ b/www/apps/docs/src/theme/DocSidebarItem/Link/index.tsx @@ -1,7 +1,7 @@ import React from "react" import clsx from "clsx" import { ThemeClassNames } from "@docusaurus/theme-common" -import { isActiveSidebarItem } from "@docusaurus/theme-common/internal" +import { isActiveSidebarItem } from "@docusaurus/plugin-content-docs/client" import Link from "@docusaurus/Link" import isInternalUrl from "@docusaurus/isInternalUrl" import IconExternalLink from "@theme/Icon/ExternalLink" diff --git a/www/apps/docs/src/theme/MDXComponents/H1.tsx b/www/apps/docs/src/theme/MDXComponents/H1.tsx index 34b696c8b5903..f4b59b761cd73 100644 --- a/www/apps/docs/src/theme/MDXComponents/H1.tsx +++ b/www/apps/docs/src/theme/MDXComponents/H1.tsx @@ -1,7 +1,7 @@ import React from "react" import type { Props } from "@theme/MDXComponents/Heading" import MDXHeading from "@theme/MDXComponents/Heading" -import { useDoc } from "@docusaurus/theme-common/internal" +import { useDoc } from "@docusaurus/plugin-content-docs/client" import { DocContextValue } from "@medusajs/docs" import { Badge, BadgeVariant } from "docs-ui" import clsx from "clsx" diff --git a/www/apps/docs/src/theme/TOCItems/index.tsx b/www/apps/docs/src/theme/TOCItems/index.tsx index 2c86e1b2870c8..6e85a71d7e6b1 100644 --- a/www/apps/docs/src/theme/TOCItems/index.tsx +++ b/www/apps/docs/src/theme/TOCItems/index.tsx @@ -2,7 +2,7 @@ import React from "react" import TOCItems from "@theme-original/TOCItems" import type TOCItemsType from "@theme/TOCItems" import type { WrapperProps } from "@docusaurus/types" -import { useDoc } from "@docusaurus/theme-common/internal" +import { useDoc } from "@docusaurus/plugin-content-docs/client" import { DocContextValue } from "@medusajs/docs" import StructuredDataHowTo from "../../components/StructuredData/HowTo" diff --git a/www/apps/docs/src/utils/get-first-category-item.ts b/www/apps/docs/src/utils/get-first-category-item.ts index 41910645c1921..02308f8dafe1a 100644 --- a/www/apps/docs/src/utils/get-first-category-item.ts +++ b/www/apps/docs/src/utils/get-first-category-item.ts @@ -1,7 +1,7 @@ import { findSidebarCategory, useDocsSidebar, -} from "@docusaurus/theme-common/internal" +} from "@docusaurus/plugin-content-docs/client" import { PropSidebarItem } from "@docusaurus/plugin-content-docs" type Options = { diff --git a/www/packages/eslint-config-docs/package.json b/www/packages/eslint-config-docs/package.json index f2bab78e6b154..e3b7b9b12886a 100644 --- a/www/packages/eslint-config-docs/package.json +++ b/www/packages/eslint-config-docs/package.json @@ -6,7 +6,7 @@ "main": "base.js", "dependencies": { "@babel/eslint-parser": "^7.22.15", - "@docusaurus/eslint-plugin": "3.1.1", + "@docusaurus/eslint-plugin": "^3.5.2", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "eslint-config-google": "^0.14.0", diff --git a/www/packages/tsconfig/package.json b/www/packages/tsconfig/package.json index e1f258f4ce33a..b7296d3e00d26 100644 --- a/www/packages/tsconfig/package.json +++ b/www/packages/tsconfig/package.json @@ -7,6 +7,6 @@ "access": "public" }, "dependencies": { - "@docusaurus/tsconfig": "3.1.1" + "@docusaurus/tsconfig": "^3.5.2" } } diff --git a/www/yarn.lock b/www/yarn.lock index 83e2cb1d82f8e..57e5f5b67b993 100644 --- a/www/yarn.lock +++ b/www/yarn.lock @@ -262,6 +262,16 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/code-frame@npm:7.25.9" + dependencies: + "@babel/highlight": ^7.25.9 + picocolors: ^1.0.0 + checksum: 88562eba0eeb5960b7004e108790aa00183d90cbbe70ce10dad01c2c48141d2ef54d6dcd0c678cc1e456de770ffeb68e28559f4d222c01a110c79aea8733074b + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.22.20, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9": version: 7.22.20 resolution: "@babel/compat-data@npm:7.22.20" @@ -283,6 +293,13 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/compat-data@npm:7.25.9" + checksum: 8d9fc2074311ce61aaf5bccf740a808644d19d4859caf5fa46d8a7186a1ee0b0d8cbbc23f9371f8b397e84a885bdeab58d5f22d6799ddde55973252aac351a27 + languageName: node + linkType: hard + "@babel/core@npm:^7.15.5, @babel/core@npm:^7.19.6": version: 7.22.20 resolution: "@babel/core@npm:7.22.20" @@ -329,6 +346,29 @@ __metadata: languageName: node linkType: hard +"@babel/core@npm:^7.21.3": + version: 7.25.9 + resolution: "@babel/core@npm:7.25.9" + dependencies: + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.25.9 + "@babel/generator": ^7.25.9 + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helpers": ^7.25.9 + "@babel/parser": ^7.25.9 + "@babel/template": ^7.25.9 + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + convert-source-map: ^2.0.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.3 + semver: ^6.3.1 + checksum: 40d3064ebe906f65ed4153a0f4d75c679a19e4d71e425035b7bbe2d292a9167274f1a0d908d4d6c8f484fcddeb10bd91e0c7878fdb3dfad1bb00f6a319ce431d + languageName: node + linkType: hard + "@babel/eslint-parser@npm:^7.22.15": version: 7.22.15 resolution: "@babel/eslint-parser@npm:7.22.15" @@ -379,6 +419,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/generator@npm:7.25.9" + dependencies: + "@babel/types": ^7.25.9 + "@jridgewell/gen-mapping": ^0.3.5 + "@jridgewell/trace-mapping": ^0.3.25 + jsesc: ^3.0.2 + checksum: fca49a1440ac550bb835a73c0e8314849cd493a468a5431ca7f9dbb3d3443e3a1a6dcba2426752e8a97cc2feed4a3b7a0c639e1c45871c4a9dd0c994f08dd25a + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" @@ -388,6 +440,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-annotate-as-pure@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-annotate-as-pure@npm:7.25.9" + dependencies: + "@babel/types": ^7.25.9 + checksum: 095b6ba50489d797733abebc4596a81918316a99e3632755c9f02508882912b00c2ae5e468532a25a5c2108d109ddbe9b7da78333ee7cc13817fc50c00cf06fe + languageName: node + linkType: hard + "@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.22.15, @babel/helper-builder-binary-assignment-operator-visitor@npm:^7.22.5": version: 7.22.15 resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.22.15" @@ -397,6 +458,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-builder-binary-assignment-operator-visitor@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-builder-binary-assignment-operator-visitor@npm:7.25.9" + dependencies: + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: a6068bb813e7f72d12b72edeecb99167f60cd7964cacedfb60e01fff5e7bed4a5a7f4f7414de7cf352a1b71487df5f8dab8c2b5230de4ad5aea16adf32e14219 + languageName: node + linkType: hard + "@babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.5, @babel/helper-compilation-targets@npm:^7.22.6": version: 7.22.15 resolution: "@babel/helper-compilation-targets@npm:7.22.15" @@ -423,6 +494,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-compilation-targets@npm:7.25.9" + dependencies: + "@babel/compat-data": ^7.25.9 + "@babel/helper-validator-option": ^7.25.9 + browserslist: ^4.24.0 + lru-cache: ^5.1.1 + semver: ^6.3.1 + checksum: a6b26a1e4222e69ef8e62ee19374308f060b007828bc11c65025ecc9e814aba21ff2175d6d3f8bf53c863edd728ee8f94ba7870f8f90a37d39552ad9933a8aaa + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.22.11, @babel/helper-create-class-features-plugin@npm:^7.22.15, @babel/helper-create-class-features-plugin@npm:^7.22.5": version: 7.22.15 resolution: "@babel/helper-create-class-features-plugin@npm:7.22.15" @@ -442,6 +526,23 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-class-features-plugin@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-create-class-features-plugin@npm:7.25.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-member-expression-to-functions": ^7.25.9 + "@babel/helper-optimise-call-expression": ^7.25.9 + "@babel/helper-replace-supers": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + "@babel/traverse": ^7.25.9 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: b2bdd39f38056a76b9ba00ec5b209dd84f5c5ebd998d0f4033cf0e73d5f2c357fbb49d1ce52db77a2709fb29ee22321f84a5734dc9914849bdfee9ad12ce8caf + languageName: node + linkType: hard + "@babel/helper-create-regexp-features-plugin@npm:^7.18.6, @babel/helper-create-regexp-features-plugin@npm:^7.22.15, @babel/helper-create-regexp-features-plugin@npm:^7.22.5": version: 7.22.15 resolution: "@babel/helper-create-regexp-features-plugin@npm:7.22.15" @@ -455,6 +556,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-create-regexp-features-plugin@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-create-regexp-features-plugin@npm:7.25.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.25.9 + regexpu-core: ^6.1.1 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 3adc60a758febbf07d65a15eaccab1f7b9fcc55e7141e59122f13c9f81fc0d1cce4525b7f4af50285d27c93b34c859fd2c39c39820c5fb92211898c3bbdc77ef + languageName: node + linkType: hard + "@babel/helper-define-polyfill-provider@npm:^0.4.2": version: 0.4.2 resolution: "@babel/helper-define-polyfill-provider@npm:0.4.2" @@ -485,6 +599,21 @@ __metadata: languageName: node linkType: hard +"@babel/helper-define-polyfill-provider@npm:^0.6.2": + version: 0.6.2 + resolution: "@babel/helper-define-polyfill-provider@npm:0.6.2" + dependencies: + "@babel/helper-compilation-targets": ^7.22.6 + "@babel/helper-plugin-utils": ^7.22.5 + debug: ^4.1.1 + lodash.debounce: ^4.0.8 + resolve: ^1.14.2 + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: f777fe0ee1e467fdaaac059c39ed203bdc94ef2465fb873316e9e1acfc511a276263724b061e3b0af2f6d7ad3ff174f2bb368fde236a860e0f650fda43d7e022 + languageName: node + linkType: hard + "@babel/helper-environment-visitor@npm:^7.22.20, @babel/helper-environment-visitor@npm:^7.22.5": version: 7.22.20 resolution: "@babel/helper-environment-visitor@npm:7.22.20" @@ -530,6 +659,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-member-expression-to-functions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-member-expression-to-functions@npm:7.25.9" + dependencies: + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: e08c7616f111e1fb56f398365e78858e26e466d4ac46dff25921adc5ccae9b232f66e952a2f4162bbe336627ba336c7fd9eca4835b6548935973d3380d77eaff + languageName: node + linkType: hard + "@babel/helper-module-imports@npm:^7.22.15, @babel/helper-module-imports@npm:^7.22.5": version: 7.22.15 resolution: "@babel/helper-module-imports@npm:7.22.15" @@ -539,6 +678,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-imports@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-module-imports@npm:7.25.9" + dependencies: + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 078d3c2b45d1f97ffe6bb47f61961be4785d2342a4156d8b42c92ee4e1b7b9e365655dd6cb25329e8fe1a675c91eeac7e3d04f0c518b67e417e29d6e27b6aa70 + languageName: node + linkType: hard + "@babel/helper-module-transforms@npm:^7.22.15, @babel/helper-module-transforms@npm:^7.22.20, @babel/helper-module-transforms@npm:^7.22.5, @babel/helper-module-transforms@npm:^7.22.9": version: 7.22.20 resolution: "@babel/helper-module-transforms@npm:7.22.20" @@ -569,6 +718,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-module-transforms@npm:7.25.9" + dependencies: + "@babel/helper-module-imports": ^7.25.9 + "@babel/helper-simple-access": ^7.25.9 + "@babel/helper-validator-identifier": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: cd005e7585806845d79c5c0ca9e8926f186b430b0a558dad08a3611365eaad3ac587672b0d903530117dec454f48b6bdc3d164b19ea1b71ca1b4eb3be7b452ef + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-optimise-call-expression@npm:7.22.5" @@ -578,6 +741,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-optimise-call-expression@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-optimise-call-expression@npm:7.25.9" + dependencies: + "@babel/types": ^7.25.9 + checksum: 90203e6607edeadd2a154940803fd616c0ed92c1013d6774c4b8eb491f1a5a3448b68faae6268141caa5c456e55e3ee49a4ed2bd7ddaf2365daea321c435914c + languageName: node + linkType: hard + "@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": version: 7.22.5 resolution: "@babel/helper-plugin-utils@npm:7.22.5" @@ -585,6 +757,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-plugin-utils@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-plugin-utils@npm:7.25.9" + checksum: 483066a1ba36ff16c0116cd24f93de05de746a603a777cd695ac7a1b034928a65a4ecb35f255761ca56626435d7abdb73219eba196f9aa83b6c3c3169325599d + languageName: node + linkType: hard + "@babel/helper-remap-async-to-generator@npm:^7.22.20, @babel/helper-remap-async-to-generator@npm:^7.22.5, @babel/helper-remap-async-to-generator@npm:^7.22.9": version: 7.22.20 resolution: "@babel/helper-remap-async-to-generator@npm:7.22.20" @@ -598,6 +777,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-remap-async-to-generator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-remap-async-to-generator@npm:7.25.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-wrap-function": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 6798b562f2788210980f29c5ee96056d90dc73458c88af5bd32f9c82e28e01975588aa2a57bb866c35556bd9b76bac937e824ee63ba472b6430224b91b4879e9 + languageName: node + linkType: hard + "@babel/helper-replace-supers@npm:^7.22.20, @babel/helper-replace-supers@npm:^7.22.5, @babel/helper-replace-supers@npm:^7.22.9": version: 7.22.20 resolution: "@babel/helper-replace-supers@npm:7.22.20" @@ -611,6 +803,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-replace-supers@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-replace-supers@npm:7.25.9" + dependencies: + "@babel/helper-member-expression-to-functions": ^7.25.9 + "@babel/helper-optimise-call-expression": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 0b40d7d2925bd3ba4223b3519e2e4d2456d471ad69aa458f1c1d1783c80b522c61f8237d3a52afc9e47c7174129bbba650df06393a6787d5722f2ec7f223c3f4 + languageName: node + linkType: hard + "@babel/helper-simple-access@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-simple-access@npm:7.22.5" @@ -620,6 +825,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-simple-access@npm:7.25.9" + dependencies: + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 3f1bcdb88ee3883ccf86959869a867f6bbf8c4737cd44fb9f799c38e54f67474590bc66802500ae9fe18161792875b2cfb7ec15673f48ed6c8663f6d09686ca8 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.22.5" @@ -629,6 +844,16 @@ __metadata: languageName: node linkType: hard +"@babel/helper-skip-transparent-expression-wrappers@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.25.9" + dependencies: + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 09ace0c6156961624ac9524329ce7f45350bab94bbe24335cbe0da7dfaa1448e658771831983cb83fe91cf6635b15d0a3cab57c03b92657480bfb49fb56dd184 + languageName: node + linkType: hard + "@babel/helper-split-export-declaration@npm:^7.22.6": version: 7.22.6 resolution: "@babel/helper-split-export-declaration@npm:7.22.6" @@ -652,6 +877,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-string-parser@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-string-parser@npm:7.25.9" + checksum: 7244b45d8e65f6b4338a6a68a8556f2cb161b782343e97281a5f2b9b93e420cad0d9f5773a59d79f61d0c448913d06f6a2358a87f2e203cf112e3c5b53522ee6 + languageName: node + linkType: hard + "@babel/helper-validator-identifier@npm:^7.22.19, @babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.22.5": version: 7.22.20 resolution: "@babel/helper-validator-identifier@npm:7.22.20" @@ -659,6 +891,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-identifier@npm:7.25.9" + checksum: 4fc6f830177b7b7e887ad3277ddb3b91d81e6c4a24151540d9d1023e8dc6b1c0505f0f0628ae653601eb4388a8db45c1c14b2c07a9173837aef7e4116456259d + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.22.15": version: 7.22.15 resolution: "@babel/helper-validator-option@npm:7.22.15" @@ -673,6 +912,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-option@npm:7.25.9" + checksum: 27fb195d14c7dcb07f14e58fe77c44eea19a6a40a74472ec05c441478fa0bb49fa1c32b2d64be7a38870ee48ef6601bdebe98d512f0253aea0b39756c4014f3e + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-wrap-function@npm:7.22.20" @@ -684,6 +930,17 @@ __metadata: languageName: node linkType: hard +"@babel/helper-wrap-function@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-wrap-function@npm:7.25.9" + dependencies: + "@babel/template": ^7.25.9 + "@babel/traverse": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: b6627d83291e7b80df020f8ee2890c52b8d49272962cac0114ef90f189889c90f1027985873d1b5261a4e986e109b2754292dc112392f0b1fcbfc91cc08bd003 + languageName: node + linkType: hard + "@babel/helpers@npm:^7.22.15": version: 7.22.15 resolution: "@babel/helpers@npm:7.22.15" @@ -706,6 +963,16 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helpers@npm:7.25.9" + dependencies: + "@babel/template": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: 4354fbf050291937d0f127f6f927a0c471b604524e0767516fefb91dc36427f25904dd0d2b2b3bbc66bce1894c680cc37eac9ab46970d70f24bf3e53375612de + languageName: node + linkType: hard + "@babel/highlight@npm:^7.22.13": version: 7.22.20 resolution: "@babel/highlight@npm:7.22.20" @@ -728,6 +995,18 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/highlight@npm:7.25.9" + dependencies: + "@babel/helper-validator-identifier": ^7.25.9 + chalk: ^2.4.2 + js-tokens: ^4.0.0 + picocolors: ^1.0.0 + checksum: ae0ed93c151b85a07df42936117fa593ce91563a22dfc8944a90ae7088c9679645c33e00dcd20b081c1979665d65f986241172dae1fc9e5922692fc3ff685a49 + languageName: node + linkType: hard + "@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.6": version: 7.23.6 resolution: "@babel/parser@npm:7.23.6" @@ -746,7 +1025,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.22.7, @babel/parser@npm:^7.23.3": +"@babel/parser@npm:^7.23.3": version: 7.23.3 resolution: "@babel/parser@npm:7.23.3" bin: @@ -755,6 +1034,40 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/parser@npm:7.25.9" + dependencies: + "@babel/types": ^7.25.9 + bin: + parser: ./bin/babel-parser.js + checksum: 143faff8a72331be5ed94080e0f4645cbeea814fb488cd9210154083735f67cb66fde32f6a4a80efd6c4cdf12c6f8b50995a465846093c7f65c5da8d7829627c + languageName: node + linkType: hard + +"@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 7aab47fcbb8c1ddc195a3cd66609edcad54c5022f018db7de40185f0182950389690e953e952f117a1737b72f665ff02ad30de6c02b49b97f1d8f4ccdffedc34 + languageName: node + linkType: hard + +"@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-safari-class-field-initializer-scope@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 3a652b3574ca62775c5f101f8457950edc540c3581226579125da535d67765f41ad7f0e6327f8efeb2540a5dad5bb0c60a89fb934af3f67472e73fb63612d004 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.22.15" @@ -777,6 +1090,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 18fc9004104a150f9f5da9f3307f361bc3104d16778bb593b7523d5110f04a8df19a2587e6bdd5e726fb1d397191add45223f4f731bb556c33f14f2779d596e8 + languageName: node + linkType: hard + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.22.15" @@ -803,6 +1127,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + "@babel/plugin-transform-optional-chaining": ^7.25.9 + peerDependencies: + "@babel/core": ^7.13.0 + checksum: 3f6c8781a2f7aa1791a31d2242399ca884df2ab944f90c020b6f112fb19f05fa6dad5be143d274dad1377e40415b63d24d5489faf5060b9c4a99e55d8f0c317c + languageName: node + linkType: hard + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.23.3": version: 7.23.3 resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.23.3" @@ -815,6 +1152,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 02b365f0cc4df8b8b811c68697c93476da387841e5f153fe42766f34241b685503ea51110d5ed6df7132759820b93e48d9fa3743cffc091eed97c19f7e5fe272 + languageName: node + linkType: hard + "@babel/plugin-proposal-decorators@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-proposal-decorators@npm:7.22.15" @@ -927,6 +1276,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-assertions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-syntax-import-assertions@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: f5a022b8a7f3585cf1586535224b06ae380983d3c14f7127b82792ef50cd8194047080540c8abec7aa8f8bfe7d774d71a1ee91f4fd3fa0277f7ffe2d3c6c4977 + languageName: node + linkType: hard + "@babel/plugin-syntax-import-attributes@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-syntax-import-attributes@npm:7.22.5" @@ -949,6 +1309,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-import-attributes@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-syntax-import-attributes@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: bbdf97ba088c3d482492f6c3376422752b1723ce32e3ac11b000faf3c942d68e418c8a911431cb05d5e300d008cc37cd5518e89807a5813c2ac8fdd82d171f8d + languageName: node + linkType: hard + "@babel/plugin-syntax-import-meta@npm:^7.10.4": version: 7.10.4 resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4" @@ -993,6 +1364,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-jsx@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-syntax-jsx@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: d56597aff4df39d3decda50193b6dfbe596ca53f437ff2934622ce19a743bf7f43492d3fb3308b0289f5cee2b825d99ceb56526a2b9e7b68bf04901546c5618c + languageName: node + linkType: hard + "@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4": version: 7.10.4 resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" @@ -1103,6 +1485,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-typescript@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-syntax-typescript@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 5192ebe11bd46aea68b7a60fd9555465c59af7e279e71126788e59121b86e00b505816685ab4782abe159232b0f73854e804b54449820b0d950b397ee158caa2 + languageName: node + linkType: hard + "@babel/plugin-syntax-unicode-sets-regex@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-syntax-unicode-sets-regex@npm:7.18.6" @@ -1137,6 +1530,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-arrow-functions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-arrow-functions@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 851fef9f58be60a80f46cc0ce1e46a6f7346a6f9d50fa9e0fa79d46ec205320069d0cc157db213e2bea88ef5b7d9bd7618bb83f0b1996a836e2426c3a3a1f622 + languageName: node + linkType: hard + "@babel/plugin-transform-async-generator-functions@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-async-generator-functions@npm:7.22.15" @@ -1165,6 +1569,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-generator-functions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-async-generator-functions@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-remap-async-to-generator": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: e3fcb9fc3d6ab6cbd4fcd956b48c17b5e92fe177553df266ffcd2b2c1f2f758b893e51b638e77ed867941e0436487d2b8b505908d615c41799241699b520dec6 + languageName: node + linkType: hard + "@babel/plugin-transform-async-to-generator@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-async-to-generator@npm:7.22.5" @@ -1191,6 +1608,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-async-to-generator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-async-to-generator@npm:7.25.9" + dependencies: + "@babel/helper-module-imports": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-remap-async-to-generator": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: c443d9e462ddef733ae56360064f32fc800105803d892e4ff32d7d6a6922b3765fa97b9ddc9f7f1d3f9d8c2d95721d85bef9dbf507804214c6cf6466b105c168 + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoped-functions@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.22.5" @@ -1213,6 +1643,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoped-functions@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-block-scoped-functions@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: e92ba0e3d72c038513844d8fca1cc8437dcb35cd42778e97fd03cb8303380b201468611e7ecfdcae3de33473b2679fe2de1552c5f925d112c5693425cf851f10 + languageName: node + linkType: hard + "@babel/plugin-transform-block-scoping@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-block-scoping@npm:7.22.15" @@ -1235,6 +1676,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-block-scoping@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-block-scoping@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a76e30becb6c75b4d87a2cd53556fddb7c88ddd56bfadb965287fd944810ac159aa8eb5705366fc37336041f63154ed9fab3862fb10482a45bf5ede63fd55fda + languageName: node + linkType: hard + "@babel/plugin-transform-class-properties@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-class-properties@npm:7.22.5" @@ -1259,6 +1711,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-class-properties@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-class-properties@npm:7.25.9" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: f0603b6bd34d8ba62c03fc0572cb8bbc75874d097ac20cc7c5379e001081210a84dba1749e7123fca43b978382f605bb9973c99caf2c5b4c492d5c0a4a441150 + languageName: node + linkType: hard + "@babel/plugin-transform-class-static-block@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-class-static-block@npm:7.22.11" @@ -1285,6 +1749,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-class-static-block@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-class-static-block@npm:7.25.9" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.12.0 + checksum: 696a3a8acde79d6fee4f685ee1353bf483c4cd50a38e586a1a044268df72d87f9b1a3b7c473def6cde836aa69931fd5a75560bb9ee3a635ebde8911575ed49ca + languageName: node + linkType: hard + "@babel/plugin-transform-classes@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-classes@npm:7.22.15" @@ -1323,6 +1799,22 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-classes@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-classes@npm:7.25.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-replace-supers": ^7.25.9 + "@babel/traverse": ^7.25.9 + globals: ^11.1.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 02742ea7cd25be286c982e672619effca528d7a931626a6f3d6cea11852951b7ee973276127eaf6418ac0e18c4d749a16b520709c707e86a67012bd23ff2927d + languageName: node + linkType: hard + "@babel/plugin-transform-computed-properties@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-computed-properties@npm:7.22.5" @@ -1347,6 +1839,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-computed-properties@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-computed-properties@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/template": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 948c0ae3ce0ba2375241d122a9bc7cda4a7ac8110bd8a62cd804bc46a5fdb7a7a42c7799c4cd972e14e0a579d2bd0999b92e53177b73f240bb0d4b09972c758b + languageName: node + linkType: hard + "@babel/plugin-transform-destructuring@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-destructuring@npm:7.22.15" @@ -1369,6 +1873,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-destructuring@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-destructuring@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7beec5fda665d108f69d5023aa7c298a1e566b973dd41290faa18aeea70f6f571295c1ece0a058f3ceb6c6c96de76de7cd34f5a227fbf09a1b8d8a735d28ca49 + languageName: node + linkType: hard + "@babel/plugin-transform-dotall-regex@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-dotall-regex@npm:7.22.5" @@ -1393,6 +1908,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-dotall-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-dotall-regex@npm:7.25.9" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7c3471ae5cf7521fd8da5b03e137e8d3733fc5ee4524ce01fb0c812f0bb77cb2c9657bc8a6253186be3a15bb4caa8974993c7ddc067f554ecc6a026f0a3b5e12 + languageName: node + linkType: hard + "@babel/plugin-transform-duplicate-keys@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-duplicate-keys@npm:7.22.5" @@ -1415,6 +1942,29 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-duplicate-keys@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-duplicate-keys@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: d0c74894b9bf6ff2a04189afffb9cd43d87ebd7b7943e51a827c92d2aaa40fa89ac81565a2fd6fbeabf9e38413a9264c45862eee2b017f1d49046cc3c8ff06b4 + languageName: node + linkType: hard + +"@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-duplicate-named-capturing-groups-regex@npm:7.25.9" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: a8039a6d2b90e011c7b30975edee47b5b1097cf3c2f95ec1f5ddd029898d783a995f55f7d6eb8d6bb8873c060fb64f9f1ccba938dfe22d118d09cf68e0cd3bf6 + languageName: node + linkType: hard + "@babel/plugin-transform-dynamic-import@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-dynamic-import@npm:7.22.11" @@ -1439,6 +1989,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-dynamic-import@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-dynamic-import@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 5e643a8209072b668350f5788f23c64e9124f81f958b595c80fecca6561086d8ef346c04391b9e5e4cad8b8cbe22c258f0cd5f4ea89b97e74438e7d1abfd98cf + languageName: node + linkType: hard + "@babel/plugin-transform-exponentiation-operator@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.22.5" @@ -1463,6 +2024,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-exponentiation-operator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-exponentiation-operator@npm:7.25.9" + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 3b42f65bab3fee28c385115ce6bcb6ba544dff187012df408a432c9fb44c980afd898911020c723dc1c9257aaf3d7d0131ad83ba15102bf30ad9a86fc2a8a912 + languageName: node + linkType: hard + "@babel/plugin-transform-export-namespace-from@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-export-namespace-from@npm:7.22.11" @@ -1487,6 +2060,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-export-namespace-from@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-export-namespace-from@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: f291ea2ec5f36de9028a00cbd5b32f08af281b8183bf047200ff001f4cb260be56f156b2449f42149448a4a033bd6e86a3a7f06d0c2825532eb0ae6b03058dfb + languageName: node + linkType: hard + "@babel/plugin-transform-for-of@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-for-of@npm:7.22.15" @@ -1509,6 +2093,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-for-of@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-for-of@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: bf11abc71934a1f369f39cd7a33cf3d4dc5673026a53f70b7c1238c4fcc44e68b3ca1bdbe3db2076f60defb6ffe117cbe10b90f3e1a613b551d88f7c4e693bbe + languageName: node + linkType: hard + "@babel/plugin-transform-function-name@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-function-name@npm:7.22.5" @@ -1535,6 +2131,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-function-name@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-function-name@npm:7.25.9" + dependencies: + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8e67fbd1dd367927b8b6afdf0a6e7cb3a3fd70766c52f700ca77428b6d536f6c9d7ec643e7762d64b23093233765c66bffa40e31aabe6492682879bcb45423e1 + languageName: node + linkType: hard + "@babel/plugin-transform-json-strings@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-json-strings@npm:7.22.11" @@ -1559,6 +2168,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-json-strings@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-json-strings@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 00bc2d4751dfc9d44ab725be16ee534de13cfd7e77dfb386e5dac9e48101ce8fcbc5971df919dc25b3f8a0fa85d6dc5f2a0c3cf7ec9d61c163d9823c091844f0 + languageName: node + linkType: hard + "@babel/plugin-transform-literals@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-literals@npm:7.22.5" @@ -1581,6 +2201,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-literals@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 00b14e9c14cf1e871c1f3781bf6334cac339c360404afd6aba63d2f6aca9270854d59a2b40abff1c4c90d4ffdca614440842d3043316c2f0ceb155fdf7726b3b + languageName: node + linkType: hard + "@babel/plugin-transform-logical-assignment-operators@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.22.11" @@ -1605,6 +2236,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-logical-assignment-operators@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-logical-assignment-operators@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 6e2051e10b2d6452980fc4bdef9da17c0d6ca48f81b8529e8804b031950e4fff7c74a7eb3de4a2b6ad22ffb631d0b67005425d232cce6e2b29ce861c78ed04f5 + languageName: node + linkType: hard + "@babel/plugin-transform-member-expression-literals@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-member-expression-literals@npm:7.22.5" @@ -1627,6 +2269,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-member-expression-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-member-expression-literals@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 91d17b451bcc5ea9f1c6f8264144057ade3338d4b92c0b248366e4db3a7790a28fd59cc56ac433a9627a9087a17a5684e53f4995dd6ae92831cb72f1bd540b54 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-amd@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-modules-amd@npm:7.22.5" @@ -1651,6 +2304,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-amd@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-amd@npm:7.25.9" + dependencies: + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 849957d9484d0a2d93331226ed6cf840cee7d57454549534c447c93f8b839ef8553eae9877f8f550e3c39f14d60992f91244b2e8e7502a46064b56c5d68ba855 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-commonjs@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-modules-commonjs@npm:7.22.15" @@ -1677,6 +2342,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-commonjs@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-commonjs@npm:7.25.9" + dependencies: + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-simple-access": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 6ce771fb04d4810257fc8900374fece877dacaed74b05eaa16ad9224b390f43795c4d046cbe9ae304e1eb5aad035d37383895e3c64496d647c2128d183916e74 + languageName: node + linkType: hard + "@babel/plugin-transform-modules-systemjs@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-modules-systemjs@npm:7.22.11" @@ -1705,6 +2383,20 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-systemjs@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-systemjs@npm:7.25.9" + dependencies: + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-identifier": ^7.25.9 + "@babel/traverse": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8299e3437542129c2684b86f98408c690df27db4122a79edded4782cf04e755d6ecb05b1e812c81a34224a81e664303392d5f3c36f3d2d51fdc99bb91c881e9a + languageName: node + linkType: hard + "@babel/plugin-transform-modules-umd@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-modules-umd@npm:7.22.5" @@ -1729,6 +2421,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-modules-umd@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-modules-umd@npm:7.25.9" + dependencies: + "@babel/helper-module-transforms": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: fa11a621f023e2ac437b71d5582f819e667c94306f022583d77da9a8f772c4128861a32bbb63bef5cba581a70cd7dbe87a37238edaafcfacf889470c395e7076 + languageName: node + linkType: hard + "@babel/plugin-transform-named-capturing-groups-regex@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.22.5" @@ -1741,6 +2445,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-named-capturing-groups-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-named-capturing-groups-regex@npm:7.25.9" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 32b14fda5c885d1706863f8af2ee6c703d39264355b57482d3a24fce7f6afbd4c7a0896e501c0806ed2b0759beb621bf7f3f7de1fbbc82026039a98d961e78ef + languageName: node + linkType: hard + "@babel/plugin-transform-new-target@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-new-target@npm:7.22.5" @@ -1763,6 +2479,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-new-target@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-new-target@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 7b5f1b7998f1cf183a7fa646346e2f3742e5805b609f28ad5fee22d666a15010f3e398b7e1ab78cddb7901841a3d3f47135929af23d54e8bf4ce69b72051f71e + languageName: node + linkType: hard + "@babel/plugin-transform-nullish-coalescing-operator@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.22.11" @@ -1787,6 +2514,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: eb623db5be078a1c974afe7c7797b0309ba2ea9e9237c0b6831ade0f56d8248bb4ab3432ab34495ff8c877ec2fe412ff779d1e9b3c2b8139da18e1753d950bc3 + languageName: node + linkType: hard + "@babel/plugin-transform-numeric-separator@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-numeric-separator@npm:7.22.11" @@ -1811,6 +2549,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-numeric-separator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-numeric-separator@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: ad63ad341977844b6f9535fcca15ca0d6d6ad112ed9cc509d4f6b75e9bf4b1b1a96a0bcb1986421a601505d34025373608b5f76d420d924b4e21f86b1a1f2749 + languageName: node + linkType: hard + "@babel/plugin-transform-object-rest-spread@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-object-rest-spread@npm:7.22.15" @@ -1841,6 +2590,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-object-rest-spread@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-object-rest-spread@npm:7.25.9" + dependencies: + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/plugin-transform-parameters": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 02077d8abd83bf6a48ff0b59e98d7561407cf75b591cffd3fdc5dc5e9a13dec1c847a7a690983762a3afecddb244831e897e0515c293e7c653b262c30cd614af + languageName: node + linkType: hard + "@babel/plugin-transform-object-super@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-object-super@npm:7.22.5" @@ -1865,6 +2627,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-object-super@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-object-super@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-replace-supers": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 0348d00e76f1f15ada44481a76e8c923d24cba91f6e49ee9b30d6861eb75344e7f84d62a18df8a6f9e9a7eacf992f388174b7f9cc4ce48287bcefca268c07600 + languageName: node + linkType: hard + "@babel/plugin-transform-optional-catch-binding@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.22.11" @@ -1889,6 +2663,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-catch-binding@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-optional-catch-binding@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 722fd5ee12ab905309d4e84421584fce4b6d9e6b639b06afb20b23fa809e6ab251e908a8d5e8b14d066a28186b8ef8f58d69fd6eca9ce1b9ef7af08333378f6c + languageName: node + linkType: hard + "@babel/plugin-transform-optional-chaining@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-optional-chaining@npm:7.22.15" @@ -1915,6 +2700,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-optional-chaining@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-optional-chaining@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 041ad2beae5affb8e68a0bcb6882a2dadb758db3c629a0e012f57488ab43a822ac1ea17a29db8ef36560a28262a5dfa4dbbbf06ed6e431db55abe024b7cd3961 + languageName: node + linkType: hard + "@babel/plugin-transform-parameters@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-parameters@npm:7.22.15" @@ -1937,6 +2734,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-parameters@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-parameters@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: aecb446754b9e09d6b6fa95fd09e7cf682f8aaeed1d972874ba24c0a30a7e803ad5f014bb1fffc7bfeed22f93c0d200947407894ea59bf7687816f2f464f8df3 + languageName: node + linkType: hard + "@babel/plugin-transform-private-methods@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-private-methods@npm:7.22.5" @@ -1961,6 +2769,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-private-methods@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-private-methods@npm:7.25.9" + dependencies: + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 64bd71de93d39daefa3e6c878d6f2fd238ed7d4ecfb13b0e771ddbbc131487def3ceb405b62b534a5cbb5043046b504e1b189b0a45229cc75af979a9fbcaa7bd + languageName: node + linkType: hard + "@babel/plugin-transform-private-property-in-object@npm:^7.22.11": version: 7.22.11 resolution: "@babel/plugin-transform-private-property-in-object@npm:7.22.11" @@ -1989,6 +2809,19 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-private-property-in-object@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-private-property-in-object@npm:7.25.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: d4965de19d9f204e692cc74dbc39f0bb469e5f29df96dd4457ea23c5e5596fba9d5af76eaa96f9d48a9fc20ec5f12a94c679285e36b8373406868ea228109e27 + languageName: node + linkType: hard + "@babel/plugin-transform-property-literals@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-property-literals@npm:7.22.5" @@ -2011,7 +2844,18 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-constant-elements@npm:^7.14.5, @babel/plugin-transform-react-constant-elements@npm:^7.18.12": +"@babel/plugin-transform-property-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-property-literals@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 1639e35b2438ccf3107af760d34e6a8e4f9acdd3ae6186ae771a6e3029bd59dfe778e502d67090f1185ecda5c16addfed77561e39c518a3f51ff10d41790e106 + languageName: node + linkType: hard + +"@babel/plugin-transform-react-constant-elements@npm:^7.14.5": version: 7.22.5 resolution: "@babel/plugin-transform-react-constant-elements@npm:7.22.5" dependencies: @@ -2022,6 +2866,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-react-constant-elements@npm:^7.21.3": + version: 7.25.9 + resolution: "@babel/plugin-transform-react-constant-elements@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 50aca3df122cf801abd251cc2507ef3011ead8f047d31d8f35b10627dd722f6a165245b09e81b3c6876515fd266a97aed0052f6b409aa1fe961fb36dd7cc0822 + languageName: node + linkType: hard + "@babel/plugin-transform-react-display-name@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-react-display-name@npm:7.22.5" @@ -2118,6 +2973,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-regenerator@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-regenerator@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + regenerator-transform: ^0.15.2 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: eef3ffc19f7d291b863635f32b896ad7f87806d9219a0d3404a470219abcfc5b43aabecd691026c48e875b965760d9c16abee25e6447272233f30cd07f453ec7 + languageName: node + linkType: hard + "@babel/plugin-transform-reserved-words@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-reserved-words@npm:7.22.5" @@ -2140,6 +3007,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-reserved-words@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-reserved-words@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8b028b80d1983e3e02f74e21924323cc66ba930e5c5758909a122aa7d80e341b8b0f42e1698e42b50d47a6ba911332f584200b28e1a4e2104b7514d9dc011e96 + languageName: node + linkType: hard + "@babel/plugin-transform-runtime@npm:^7.22.9": version: 7.23.3 resolution: "@babel/plugin-transform-runtime@npm:7.23.3" @@ -2178,6 +3056,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-shorthand-properties@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-shorthand-properties@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 05a20d45f0fb62567644c507ccd4e379c1a74dacf887d2b2cac70247415e3f6d7d3bf4850c8b336053144715fedb6200fc38f7130c4b76c94eec9b9c0c2a8e9b + languageName: node + linkType: hard + "@babel/plugin-transform-spread@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-spread@npm:7.22.5" @@ -2202,6 +3091,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-spread@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-spread@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 996c8fed238efc30e0664f9f58bd7ec8c148f4659f84425f68923a094fe891245711d26eb10d1f815f50c124434e076e860dbe9662240844d1b77cd09907dcdf + languageName: node + linkType: hard + "@babel/plugin-transform-sticky-regex@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-sticky-regex@npm:7.22.5" @@ -2220,7 +3121,18 @@ __metadata: "@babel/helper-plugin-utils": ^7.22.5 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: cd15c407906b41e4b924ea151e455c11274dba050771ee7154ad88a1a274140ac5e84efc8d08c4379f2f0cec8a09e4a0a3b2a3a954ba6a67d9fb35df1c714c56 + checksum: cd15c407906b41e4b924ea151e455c11274dba050771ee7154ad88a1a274140ac5e84efc8d08c4379f2f0cec8a09e4a0a3b2a3a954ba6a67d9fb35df1c714c56 + languageName: node + linkType: hard + +"@babel/plugin-transform-sticky-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-sticky-regex@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: e9612b0615dab4c4fba1c560769616a9bd7b9226c73191ef84b6c3ee185c8b719b4f887cdd8336a0a13400ce606ab4a0d33bc8fa6b4fcdb53e2896d07f2568f6 languageName: node linkType: hard @@ -2246,6 +3158,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-template-literals@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-template-literals@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 5144da6036807bbd4e9d2a8b92ae67a759543929f34f4db9b463448a77298f4a40bf1e92e582db208fe08ee116224806a3bd0bed75d9da404fc2c0af9e6da540 + languageName: node + linkType: hard + "@babel/plugin-transform-typeof-symbol@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-typeof-symbol@npm:7.22.5" @@ -2268,6 +3191,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-typeof-symbol@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-typeof-symbol@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 2b19fd88608589d9bc6b607ff17b06791d35c67ef3249f4659283454e6a9984241e3bd4c4eb72bb8b3d860a73223f3874558b861adb7314aa317c1c6a2f0cafb + languageName: node + linkType: hard + "@babel/plugin-transform-typescript@npm:^7.22.15": version: 7.22.15 resolution: "@babel/plugin-transform-typescript@npm:7.22.15" @@ -2296,6 +3230,21 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-typescript@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-typescript@npm:7.25.9" + dependencies: + "@babel/helper-annotate-as-pure": ^7.25.9 + "@babel/helper-create-class-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-skip-transparent-expression-wrappers": ^7.25.9 + "@babel/plugin-syntax-typescript": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: c607ddb45f7e33cfcb928aad05cb1b18b1ecb564d2329d8f8e427f75192511aa821dee42d26871f1bdffbd883853e150ba81436664646c6e6b13063e65ce1475 + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-escapes@npm:^7.22.10": version: 7.22.10 resolution: "@babel/plugin-transform-unicode-escapes@npm:7.22.10" @@ -2318,6 +3267,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-escapes@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-escapes@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 615c84d7c53e1575d54ba9257e753e0b98c5de1e3225237d92f55226eaab8eb5bceb74df43f50f4aa162b0bbcc934ed11feafe2b60b8ec4934ce340fad4b8828 + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-property-regex@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.22.5" @@ -2342,6 +3302,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-property-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-property-regex@npm:7.25.9" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 1685836fc38af4344c3d2a9edbd46f7c7b28d369b63967d5b83f2f6849ec45b97223461cea3d14cc3f0be6ebb284938e637a5ca3955c0e79c873d62f593d615c + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-regex@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-unicode-regex@npm:7.22.5" @@ -2366,6 +3338,18 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-transform-unicode-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-regex@npm:7.25.9" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 448004f978279e726af26acd54f63f9002c9e2582ecd70d1c5c4436f6de490fcd817afb60016d11c52f5ef17dbaac2590e8cc7bfaf4e91b58c452cf188c7920f + languageName: node + linkType: hard + "@babel/plugin-transform-unicode-sets-regex@npm:^7.22.5": version: 7.22.5 resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.22.5" @@ -2390,7 +3374,19 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.15.6, @babel/preset-env@npm:^7.19.4": +"@babel/plugin-transform-unicode-sets-regex@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/plugin-transform-unicode-sets-regex@npm:7.25.9" + dependencies: + "@babel/helper-create-regexp-features-plugin": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 56ee04fbe236b77cbcd6035cbf0be7566d1386b8349154ac33244c25f61170c47153a9423cd1d92855f7d6447b53a4a653d9e8fd1eaeeee14feb4b2baf59bd9f + languageName: node + linkType: hard + +"@babel/preset-env@npm:^7.15.6": version: 7.22.20 resolution: "@babel/preset-env@npm:7.22.20" dependencies: @@ -2480,6 +3476,84 @@ __metadata: languageName: node linkType: hard +"@babel/preset-env@npm:^7.20.2": + version: 7.25.9 + resolution: "@babel/preset-env@npm:7.25.9" + dependencies: + "@babel/compat-data": ^7.25.9 + "@babel/helper-compilation-targets": ^7.25.9 + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-option": ^7.25.9 + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": ^7.25.9 + "@babel/plugin-bugfix-safari-class-field-initializer-scope": ^7.25.9 + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": ^7.25.9 + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": ^7.25.9 + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": ^7.25.9 + "@babel/plugin-proposal-private-property-in-object": 7.21.0-placeholder-for-preset-env.2 + "@babel/plugin-syntax-import-assertions": ^7.25.9 + "@babel/plugin-syntax-import-attributes": ^7.25.9 + "@babel/plugin-syntax-unicode-sets-regex": ^7.18.6 + "@babel/plugin-transform-arrow-functions": ^7.25.9 + "@babel/plugin-transform-async-generator-functions": ^7.25.9 + "@babel/plugin-transform-async-to-generator": ^7.25.9 + "@babel/plugin-transform-block-scoped-functions": ^7.25.9 + "@babel/plugin-transform-block-scoping": ^7.25.9 + "@babel/plugin-transform-class-properties": ^7.25.9 + "@babel/plugin-transform-class-static-block": ^7.25.9 + "@babel/plugin-transform-classes": ^7.25.9 + "@babel/plugin-transform-computed-properties": ^7.25.9 + "@babel/plugin-transform-destructuring": ^7.25.9 + "@babel/plugin-transform-dotall-regex": ^7.25.9 + "@babel/plugin-transform-duplicate-keys": ^7.25.9 + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": ^7.25.9 + "@babel/plugin-transform-dynamic-import": ^7.25.9 + "@babel/plugin-transform-exponentiation-operator": ^7.25.9 + "@babel/plugin-transform-export-namespace-from": ^7.25.9 + "@babel/plugin-transform-for-of": ^7.25.9 + "@babel/plugin-transform-function-name": ^7.25.9 + "@babel/plugin-transform-json-strings": ^7.25.9 + "@babel/plugin-transform-literals": ^7.25.9 + "@babel/plugin-transform-logical-assignment-operators": ^7.25.9 + "@babel/plugin-transform-member-expression-literals": ^7.25.9 + "@babel/plugin-transform-modules-amd": ^7.25.9 + "@babel/plugin-transform-modules-commonjs": ^7.25.9 + "@babel/plugin-transform-modules-systemjs": ^7.25.9 + "@babel/plugin-transform-modules-umd": ^7.25.9 + "@babel/plugin-transform-named-capturing-groups-regex": ^7.25.9 + "@babel/plugin-transform-new-target": ^7.25.9 + "@babel/plugin-transform-nullish-coalescing-operator": ^7.25.9 + "@babel/plugin-transform-numeric-separator": ^7.25.9 + "@babel/plugin-transform-object-rest-spread": ^7.25.9 + "@babel/plugin-transform-object-super": ^7.25.9 + "@babel/plugin-transform-optional-catch-binding": ^7.25.9 + "@babel/plugin-transform-optional-chaining": ^7.25.9 + "@babel/plugin-transform-parameters": ^7.25.9 + "@babel/plugin-transform-private-methods": ^7.25.9 + "@babel/plugin-transform-private-property-in-object": ^7.25.9 + "@babel/plugin-transform-property-literals": ^7.25.9 + "@babel/plugin-transform-regenerator": ^7.25.9 + "@babel/plugin-transform-reserved-words": ^7.25.9 + "@babel/plugin-transform-shorthand-properties": ^7.25.9 + "@babel/plugin-transform-spread": ^7.25.9 + "@babel/plugin-transform-sticky-regex": ^7.25.9 + "@babel/plugin-transform-template-literals": ^7.25.9 + "@babel/plugin-transform-typeof-symbol": ^7.25.9 + "@babel/plugin-transform-unicode-escapes": ^7.25.9 + "@babel/plugin-transform-unicode-property-regex": ^7.25.9 + "@babel/plugin-transform-unicode-regex": ^7.25.9 + "@babel/plugin-transform-unicode-sets-regex": ^7.25.9 + "@babel/preset-modules": 0.1.6-no-external-plugins + babel-plugin-polyfill-corejs2: ^0.4.10 + babel-plugin-polyfill-corejs3: ^0.10.6 + babel-plugin-polyfill-regenerator: ^0.6.1 + core-js-compat: ^3.38.1 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: b8b391e3fe69918a2a4f4366034113bd6f57c9748974dbe1b807a728bc41434f1e003cb4204ca63a2a01cbb7c05ba96036261b64756243374374353931d346e6 + languageName: node + linkType: hard + "@babel/preset-env@npm:^7.22.9": version: 7.23.3 resolution: "@babel/preset-env@npm:7.23.3" @@ -2615,7 +3689,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.15.0, @babel/preset-typescript@npm:^7.18.6": +"@babel/preset-typescript@npm:^7.15.0": version: 7.22.15 resolution: "@babel/preset-typescript@npm:7.22.15" dependencies: @@ -2630,6 +3704,21 @@ __metadata: languageName: node linkType: hard +"@babel/preset-typescript@npm:^7.21.0": + version: 7.25.9 + resolution: "@babel/preset-typescript@npm:7.25.9" + dependencies: + "@babel/helper-plugin-utils": ^7.25.9 + "@babel/helper-validator-option": ^7.25.9 + "@babel/plugin-syntax-jsx": ^7.25.9 + "@babel/plugin-transform-modules-commonjs": ^7.25.9 + "@babel/plugin-transform-typescript": ^7.25.9 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: cbcc5b4bf2891e367627338961113febbe58d361e9a03bd2c8340ede914870f74db35ee367cfd8d0fca0872149bfb58b090d0a4815de7c05d0a8abb3d961eead + languageName: node + linkType: hard + "@babel/preset-typescript@npm:^7.22.5": version: 7.23.3 resolution: "@babel/preset-typescript@npm:7.23.3" @@ -2700,6 +3789,17 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/template@npm:7.25.9" + dependencies: + "@babel/code-frame": ^7.25.9 + "@babel/parser": ^7.25.9 + "@babel/types": ^7.25.9 + checksum: ebe677273f96a36c92cc15b7aa7b11cc8bc8a3bb7a01d55b2125baca8f19cae94ff3ce15f1b1880fb8437f3a690d9f89d4e91f16fc1dc4d3eb66226d128983ab + languageName: node + linkType: hard + "@babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.23.6": version: 7.23.6 resolution: "@babel/traverse@npm:7.23.6" @@ -2754,6 +3854,21 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/traverse@npm:7.25.9" + dependencies: + "@babel/code-frame": ^7.25.9 + "@babel/generator": ^7.25.9 + "@babel/parser": ^7.25.9 + "@babel/template": ^7.25.9 + "@babel/types": ^7.25.9 + debug: ^4.3.1 + globals: ^11.1.0 + checksum: e90be586a714da4adb80e6cb6a3c5cfcaa9b28148abdafb065e34cc109676fc3db22cf98cd2b2fff66ffb9b50c0ef882cab0f466b6844be0f6c637b82719bba1 + languageName: node + linkType: hard + "@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.7, @babel/types@npm:^7.23.6": version: 7.23.6 resolution: "@babel/types@npm:7.23.6" @@ -2776,6 +3891,16 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.21.3, @babel/types@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/types@npm:7.25.9" + dependencies: + "@babel/helper-string-parser": ^7.25.9 + "@babel/helper-validator-identifier": ^7.25.9 + checksum: 33890d08bcb06b26a3a60e4c6c996cbdf2b8d8a3c212664de659c2775f80b002c5f2bceedaa309c384ff5e99bd579794fe6a7e41de07df70246f43c55016d349 + languageName: node + linkType: hard + "@babel/types@npm:^7.23.0, @babel/types@npm:^7.23.3": version: 7.23.3 resolution: "@babel/types@npm:7.23.3" @@ -3007,9 +4132,9 @@ __metadata: languageName: node linkType: hard -"@docusaurus/core@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/core@npm:3.1.1" +"@docusaurus/core@npm:3.5.2, @docusaurus/core@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/core@npm:3.5.2" dependencies: "@babel/core": ^7.23.3 "@babel/generator": ^7.23.3 @@ -3021,15 +4146,12 @@ __metadata: "@babel/runtime": ^7.22.6 "@babel/runtime-corejs3": ^7.22.6 "@babel/traverse": ^7.22.8 - "@docusaurus/cssnano-preset": 3.1.1 - "@docusaurus/logger": 3.1.1 - "@docusaurus/mdx-loader": 3.1.1 - "@docusaurus/react-loadable": 5.5.2 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-common": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 - "@slorber/static-site-generator-webpack-plugin": ^4.0.7 - "@svgr/webpack": ^6.5.1 + "@docusaurus/cssnano-preset": 3.5.2 + "@docusaurus/logger": 3.5.2 + "@docusaurus/mdx-loader": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 autoprefixer: ^10.4.14 babel-loader: ^9.1.3 babel-plugin-dynamic-import-node: ^2.3.3 @@ -3043,12 +4165,13 @@ __metadata: copy-webpack-plugin: ^11.0.0 core-js: ^3.31.1 css-loader: ^6.8.1 - css-minimizer-webpack-plugin: ^4.2.2 - cssnano: ^5.1.15 + css-minimizer-webpack-plugin: ^5.0.1 + cssnano: ^6.1.2 del: ^6.1.1 detect-port: ^1.5.1 escape-html: ^1.0.3 eta: ^2.2.0 + eval: ^0.1.8 file-loader: ^6.2.0 fs-extra: ^11.1.1 html-minifier-terser: ^7.2.0 @@ -3057,12 +4180,13 @@ __metadata: leven: ^3.1.0 lodash: ^4.17.21 mini-css-extract-plugin: ^2.7.6 + p-map: ^4.0.0 postcss: ^8.4.26 postcss-loader: ^7.3.3 prompts: ^2.4.2 react-dev-utils: ^12.0.1 react-helmet-async: ^1.3.0 - react-loadable: "npm:@docusaurus/react-loadable@5.5.2" + react-loadable: "npm:@docusaurus/react-loadable@6.0.0" react-loadable-ssr-addon-v5-slorber: ^1.0.1 react-router: ^5.3.4 react-router-config: ^5.1.1 @@ -3081,57 +4205,56 @@ __metadata: webpack-merge: ^5.9.0 webpackbar: ^5.0.2 peerDependencies: + "@mdx-js/react": ^3.0.0 react: ^18.0.0 react-dom: ^18.0.0 bin: docusaurus: bin/docusaurus.mjs - checksum: 7e7310258fd60bde11eb94a6240c469ddeaf7e55ec35e2f23878a201f25971b016cfd334c2bf0a7a6aa9340bbfedf781b4d875905519597439b88b2b32a54d73 + checksum: 0868fc7cfbc38e7d927d60e927abf883fe442fe723123a58425a5402905a48bfb57b4e59ff555944af54ad3be462380d43e0f737989f6f300f11df2ca29d0498 languageName: node linkType: hard -"@docusaurus/cssnano-preset@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/cssnano-preset@npm:3.1.1" +"@docusaurus/cssnano-preset@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/cssnano-preset@npm:3.5.2" dependencies: - cssnano-preset-advanced: ^5.3.10 - postcss: ^8.4.26 - postcss-sort-media-queries: ^4.4.1 + cssnano-preset-advanced: ^6.1.2 + postcss: ^8.4.38 + postcss-sort-media-queries: ^5.2.0 tslib: ^2.6.0 - checksum: 8f3e2f495cb5420437478b6c6b9d83f509f8f17ab06db124ee751749d35f56408d2bad48b56439bc42c02e7faf49b12920bc1e078bbe28143e423ac10d421478 + checksum: 10fd97d66aa7973d86322ac205978edc18636e13dc1f5eb7e6fca5169c4203660bd958f2a483a2b1639d05c1878f5d0eb5f07676eee5d5aa3b71b417d35fa42a languageName: node linkType: hard -"@docusaurus/eslint-plugin@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/eslint-plugin@npm:3.1.1" +"@docusaurus/eslint-plugin@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/eslint-plugin@npm:3.5.2" dependencies: "@typescript-eslint/utils": ^5.62.0 tslib: ^2.6.0 peerDependencies: eslint: ">=6" - checksum: f074596b75ed1de9fb3bca89292b24afecfe0582b61b5234d8a5e5f1952f14a451bb597d178b743d7f877bb927310eecdc2459c7d730fe8e836221de7ad2741d + checksum: 7c8e617e45047af20df2099f3d6e2fb63a80213c7cb1236da2fbebb51e53b71c4c78436caeb3fe85f4410b2073fee8480be65be4da1093147d4ea2f4975b63de languageName: node linkType: hard -"@docusaurus/logger@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/logger@npm:3.1.1" +"@docusaurus/logger@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/logger@npm:3.5.2" dependencies: chalk: ^4.1.2 tslib: ^2.6.0 - checksum: a70814e8a54b800aadd2c76f34411c9ab4b0907287ae3cee775c7ebb15c797f5807d3a25bd30519361654e667a81c496c8e0229cce989ba92028f76fde73f9e4 + checksum: 5360228a980c024445483c88e14c2f2e69ca7b8386c0c39bd147307b0296277fdf06c27e43dba0e43d9ea6abee7b0269a4d6fe166e57ad5ffb2e093759ff6c03 languageName: node linkType: hard -"@docusaurus/mdx-loader@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/mdx-loader@npm:3.1.1" +"@docusaurus/mdx-loader@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/mdx-loader@npm:3.5.2" dependencies: - "@babel/parser": ^7.22.7 - "@babel/traverse": ^7.22.8 - "@docusaurus/logger": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/logger": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 "@mdx-js/mdx": ^3.0.0 "@slorber/remark-comment": ^1.0.0 escape-html: ^1.0.3 @@ -3156,41 +4279,41 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: b73185dd2a77edfc2a0e840ac339ed90cf66a359861b1e79cfdf678737c26d20a96a186511cf8eac2c17bdb336bec7fa2028341c8c28d862410778ef855c433e + checksum: 52f193578cd3f369c155a2a7a5db532dc482ecb460e3b32ca1111e0036ea8939bfaf4094860929510e639f9a00d1edbbedc797ccdef9eddc381bedaa255d5ab3 languageName: node linkType: hard -"@docusaurus/module-type-aliases@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/module-type-aliases@npm:3.1.1" +"@docusaurus/module-type-aliases@npm:3.5.2, @docusaurus/module-type-aliases@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/module-type-aliases@npm:3.5.2" dependencies: - "@docusaurus/react-loadable": 5.5.2 - "@docusaurus/types": 3.1.1 + "@docusaurus/types": 3.5.2 "@types/history": ^4.7.11 "@types/react": "*" "@types/react-router-config": "*" "@types/react-router-dom": "*" react-helmet-async: "*" - react-loadable: "npm:@docusaurus/react-loadable@5.5.2" + react-loadable: "npm:@docusaurus/react-loadable@6.0.0" peerDependencies: react: "*" react-dom: "*" - checksum: d3b79548b995b99db19cbff69b9b83493d901c080582e76a44237336e8409177cb2628f9e0eaa4c6cc336278e52c89e89aca84e41c1870b96c0d642868570d96 + checksum: 5174c8ad4a545b4ef8aa16bae6f6a2d501ab0d4ddd400cca83c55b6b35eac79b1d7cff52d6041da4f0f339a969d72be1f40e57d5ea73a50a61e0688505627e0c languageName: node linkType: hard -"@docusaurus/plugin-content-blog@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-content-blog@npm:3.1.1" - dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/logger": 3.1.1 - "@docusaurus/mdx-loader": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-common": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 - cheerio: ^1.0.0-rc.12 +"@docusaurus/plugin-content-blog@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-content-blog@npm:3.5.2" + dependencies: + "@docusaurus/core": 3.5.2 + "@docusaurus/logger": 3.5.2 + "@docusaurus/mdx-loader": 3.5.2 + "@docusaurus/theme-common": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 + cheerio: 1.0.0-rc.12 feed: ^4.2.2 fs-extra: ^11.1.1 lodash: ^4.17.21 @@ -3201,23 +4324,26 @@ __metadata: utility-types: ^3.10.0 webpack: ^5.88.1 peerDependencies: + "@docusaurus/plugin-content-docs": "*" react: ^18.0.0 react-dom: ^18.0.0 - checksum: 43e21c9f307fa5f93a2ae39db2b2cbe4f6a6397159984dc8a55eca6820bf6c0d8149dc10fc6b047cb14c19e28b4fa3dbe3231f353c617e76d5d06b3e9d882a4a + checksum: 0cdd4944e19c4ed02783be311dd735728a03282585517f48277358373cf46740b5659daa14bdaf58f80e0f949579a97110aa785a15333ad420154acc997471e6 languageName: node linkType: hard -"@docusaurus/plugin-content-docs@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-content-docs@npm:3.1.1" - dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/logger": 3.1.1 - "@docusaurus/mdx-loader": 3.1.1 - "@docusaurus/module-type-aliases": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 +"@docusaurus/plugin-content-docs@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-content-docs@npm:3.5.2" + dependencies: + "@docusaurus/core": 3.5.2 + "@docusaurus/logger": 3.5.2 + "@docusaurus/mdx-loader": 3.5.2 + "@docusaurus/module-type-aliases": 3.5.2 + "@docusaurus/theme-common": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 "@types/react-router-config": ^5.0.7 combine-promises: ^1.1.0 fs-extra: ^11.1.1 @@ -3229,181 +4355,169 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: affb37111782ad3f79ce1e8964cf57c1b4d44bb5525d37d06a188a7615a0d94af5140e93f6d65b8f1365e8b6347a9dd0436f510083bd97a5f4b7a3df799d3b9c + checksum: fd245e323bd2735c9a65bbb50c8411db3bf8b562ad812ef92c4637554b1606aeaf2f2da95ea447a6fb158d96836677d7f95a6a006dae3c4730c231c5527fd7ce languageName: node linkType: hard -"@docusaurus/plugin-content-pages@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-content-pages@npm:3.1.1" +"@docusaurus/plugin-content-pages@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-content-pages@npm:3.5.2" dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/mdx-loader": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/mdx-loader": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 fs-extra: ^11.1.1 tslib: ^2.6.0 webpack: ^5.88.1 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: ce5bb432429449c4abe5a33fdb69e5e3435587f40f9981c42ef8888eb2c99a78879e45eca4155acfc3ba91eaa3f5e7ebdfff5bba2f59cb1755feaff6ff64dad5 + checksum: 4ca00fad896976095a64f485c6b58da5426fb8301921b2d3099d3604f3a3485461543e373415b54ce743104ff67f54e4f6fb4364547fce3d8c88be57e1c87426 languageName: node linkType: hard -"@docusaurus/plugin-debug@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-debug@npm:3.1.1" +"@docusaurus/plugin-debug@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-debug@npm:3.5.2" dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils": 3.5.2 fs-extra: ^11.1.1 react-json-view-lite: ^1.2.0 tslib: ^2.6.0 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: c863b2f22c8dc49ef36f981700734145d9430e36ecdf15f871cbdbd5a725284c26fe3b320a040440649f0e11bed1a2a78fd115103caea2c8e75bbff4079d8cee + checksum: 2d47f01154a026b9c9028df72fa87a633772c5079501a8e7c48ca48ba87fd1f4ec6e7e277c8123315cccbc43a9897e45e8a0b8b975cc337a74316eee03f7b320 languageName: node linkType: hard -"@docusaurus/plugin-google-analytics@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-google-analytics@npm:3.1.1" +"@docusaurus/plugin-google-analytics@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-google-analytics@npm:3.5.2" dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 tslib: ^2.6.0 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 66574bc551b45bb26bd390caeb25b7d0839717080e3b14779827fd25c789a12bb97503f47d613c368bf66aaf579600bf047075548a76c590d56dade56d58f19a + checksum: 19e2fbdb625a0345c7f5571ae39fae5803b32933f7f69ba481daf56b4640d68c899049a8c0a7a774e533723364361a7e56839e4fd279940717c5c35d66c226b5 languageName: node linkType: hard -"@docusaurus/plugin-google-gtag@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-google-gtag@npm:3.1.1" +"@docusaurus/plugin-google-gtag@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-google-gtag@npm:3.5.2" dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 "@types/gtag.js": ^0.0.12 tslib: ^2.6.0 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: e91ea0e47efcb2ebffd8947afd6e8ff862141c8ef5228a8124ff2f22d0a171b7b3968c54789cc8b4460fe7eab07af1451f23b1f07182cb29ae13e1c2d6dd2f86 + checksum: ba502ae3e0b766b8eebafe89935365199cbc66f9d472950d3d95362619b1f78dddf8e45a73c7e9a1040be965b927ea5ce76037b3f7ee5443c25cab8e6e232934 languageName: node linkType: hard -"@docusaurus/plugin-google-tag-manager@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-google-tag-manager@npm:3.1.1" +"@docusaurus/plugin-google-tag-manager@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-google-tag-manager@npm:3.5.2" dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 tslib: ^2.6.0 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 23277cfc15e4c8fe1551982b5fd82c522f3bbffb8bc74ca015ec63c2eadebbe8d2287cbe792e5458029109bbb6d58aa1c4aeabdd7d501257c771607676465465 + checksum: 067eed163b41ac03e85b70ec677525479bae6f4b7137e837d81dd48d03ab8c246b52be3236283cbc4607039beddc618adcfe451f91b19e2d41d343cd0952bd73 languageName: node linkType: hard -"@docusaurus/plugin-sitemap@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/plugin-sitemap@npm:3.1.1" - dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/logger": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-common": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 +"@docusaurus/plugin-sitemap@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/plugin-sitemap@npm:3.5.2" + dependencies: + "@docusaurus/core": 3.5.2 + "@docusaurus/logger": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 fs-extra: ^11.1.1 sitemap: ^7.1.1 tslib: ^2.6.0 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 3e9557d9824c30e321a831aecb897429112e5857f5659a933aa6389259d22d7574e31a54eb93cd89250672c1605115397332e333e6aae663df47dd98c5234f8d + checksum: 9490c3a11869fb50abe7d8d9c235d57b18247a2dbe59d2351a6a919f0a4cf5445879e019db049a5dd55cbbb1ce0e19d5f1342e368e593408652f48d19331f961 languageName: node linkType: hard -"@docusaurus/preset-classic@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/preset-classic@npm:3.1.1" - dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/plugin-content-blog": 3.1.1 - "@docusaurus/plugin-content-docs": 3.1.1 - "@docusaurus/plugin-content-pages": 3.1.1 - "@docusaurus/plugin-debug": 3.1.1 - "@docusaurus/plugin-google-analytics": 3.1.1 - "@docusaurus/plugin-google-gtag": 3.1.1 - "@docusaurus/plugin-google-tag-manager": 3.1.1 - "@docusaurus/plugin-sitemap": 3.1.1 - "@docusaurus/theme-classic": 3.1.1 - "@docusaurus/theme-common": 3.1.1 - "@docusaurus/theme-search-algolia": 3.1.1 - "@docusaurus/types": 3.1.1 +"@docusaurus/preset-classic@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/preset-classic@npm:3.5.2" + dependencies: + "@docusaurus/core": 3.5.2 + "@docusaurus/plugin-content-blog": 3.5.2 + "@docusaurus/plugin-content-docs": 3.5.2 + "@docusaurus/plugin-content-pages": 3.5.2 + "@docusaurus/plugin-debug": 3.5.2 + "@docusaurus/plugin-google-analytics": 3.5.2 + "@docusaurus/plugin-google-gtag": 3.5.2 + "@docusaurus/plugin-google-tag-manager": 3.5.2 + "@docusaurus/plugin-sitemap": 3.5.2 + "@docusaurus/theme-classic": 3.5.2 + "@docusaurus/theme-common": 3.5.2 + "@docusaurus/theme-search-algolia": 3.5.2 + "@docusaurus/types": 3.5.2 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 94de4669c7563db801f45f0ae4eba7db047f94533ff44663e8b54a47745309a0a838bc9823a69ac07ba41150436d85c8b4f5b0370344fe86c501866d61b30fb1 - languageName: node - linkType: hard - -"@docusaurus/react-loadable@npm:5.5.2, react-loadable@npm:@docusaurus/react-loadable@5.5.2": - version: 5.5.2 - resolution: "@docusaurus/react-loadable@npm:5.5.2" - dependencies: - "@types/react": "*" - prop-types: ^15.6.2 - peerDependencies: - react: "*" - checksum: 3f6a335d55c811c4fd40300ff0d87ae88f44f96e9c43a4c3f54f1c19b7a55bae601e43d66f797074e204699fd6abb69affa65fc4c5a819e8f1c2adb8a912da46 + checksum: ea15474b01399a7bf05d6fd8b0edbf2856ffc83baa0d726b6e90c365ffc93ed39a78ac3d5690750f43051387ff96a8b455927ffa712f4589f4e4b45a4490aaaa languageName: node linkType: hard -"@docusaurus/remark-plugin-npm2yarn@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/remark-plugin-npm2yarn@npm:3.1.1" +"@docusaurus/remark-plugin-npm2yarn@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/remark-plugin-npm2yarn@npm:3.5.2" dependencies: mdast-util-mdx: ^3.0.0 - npm-to-yarn: ^2.0.0 + npm-to-yarn: ^2.2.1 tslib: ^2.6.0 unified: ^11.0.3 unist-util-visit: ^5.0.0 - checksum: 9ae7df5987106e5cc1891f5eb71c2b3b95e19019c7c0ba9ba4a780a4d7fb716570bf8b09dff917424b9e30d6e5b5894b210d9d8ae9f0d929043210e35d8ec7cf + checksum: a9a7f212e0fad41c9c74184259eca37a838b6637b382f4ddee47f533036c292b0d6bdfcde93d8d7bed259baf8d4a36c7dd1456bfeb8bde5c4d92d3b4c7a99db7 languageName: node linkType: hard -"@docusaurus/theme-classic@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/theme-classic@npm:3.1.1" - dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/mdx-loader": 3.1.1 - "@docusaurus/module-type-aliases": 3.1.1 - "@docusaurus/plugin-content-blog": 3.1.1 - "@docusaurus/plugin-content-docs": 3.1.1 - "@docusaurus/plugin-content-pages": 3.1.1 - "@docusaurus/theme-common": 3.1.1 - "@docusaurus/theme-translations": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-common": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 +"@docusaurus/theme-classic@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/theme-classic@npm:3.5.2" + dependencies: + "@docusaurus/core": 3.5.2 + "@docusaurus/mdx-loader": 3.5.2 + "@docusaurus/module-type-aliases": 3.5.2 + "@docusaurus/plugin-content-blog": 3.5.2 + "@docusaurus/plugin-content-docs": 3.5.2 + "@docusaurus/plugin-content-pages": 3.5.2 + "@docusaurus/theme-common": 3.5.2 + "@docusaurus/theme-translations": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 "@mdx-js/react": ^3.0.0 clsx: ^2.0.0 copy-text-to-clipboard: ^3.2.0 - infima: 0.2.0-alpha.43 + infima: 0.2.0-alpha.44 lodash: ^4.17.21 nprogress: ^0.2.0 postcss: ^8.4.26 @@ -3416,21 +4530,18 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 6c55ead986d092ccbf1109560596367951466965d9334a06326dbc589fd5013b2e8743ee47a0763dd5517011a4367be10413f2808cf5bf8ce2f21a20ffc56e3c + checksum: b0f1dd2a81b96d5522ce456de77e0edd539ea07406ff370b624d878a46af4b33f66892242bc177bf04a0026831fccd3621d722c174ebb8a05a8e6f6ed07d72c3 languageName: node linkType: hard -"@docusaurus/theme-common@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/theme-common@npm:3.1.1" - dependencies: - "@docusaurus/mdx-loader": 3.1.1 - "@docusaurus/module-type-aliases": 3.1.1 - "@docusaurus/plugin-content-blog": 3.1.1 - "@docusaurus/plugin-content-docs": 3.1.1 - "@docusaurus/plugin-content-pages": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-common": 3.1.1 +"@docusaurus/theme-common@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/theme-common@npm:3.5.2" + dependencies: + "@docusaurus/mdx-loader": 3.5.2 + "@docusaurus/module-type-aliases": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 "@types/history": ^4.7.11 "@types/react": "*" "@types/react-router-config": "*" @@ -3440,42 +4551,43 @@ __metadata: tslib: ^2.6.0 utility-types: ^3.10.0 peerDependencies: + "@docusaurus/plugin-content-docs": "*" react: ^18.0.0 react-dom: ^18.0.0 - checksum: 13fb9d9fc4e68e7ead1da92d1f3949b8f0b3a108430a37f895ab98f0ba199f606697d4a7c37d6649acd9391bd834a7658546c2505972185f76ff1f10b9cda9f8 + checksum: ae84a910b98c2b6706110e1580af96e5d87d5b29fe1f085d461932aa9608ee3df90e257d809ddcea5c5d848a160933d16052db1669dd062b5d13870834ac0394 languageName: node linkType: hard -"@docusaurus/theme-mermaid@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/theme-mermaid@npm:3.1.1" +"@docusaurus/theme-mermaid@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/theme-mermaid@npm:3.5.2" dependencies: - "@docusaurus/core": 3.1.1 - "@docusaurus/module-type-aliases": 3.1.1 - "@docusaurus/theme-common": 3.1.1 - "@docusaurus/types": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/module-type-aliases": 3.5.2 + "@docusaurus/theme-common": 3.5.2 + "@docusaurus/types": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 mermaid: ^10.4.0 tslib: ^2.6.0 peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: f8870f4db1bf6f32fefb43733187ff5e68997db16aa63e575ba70d9403ebe84f4de76cf2c8799c516d4c31f09156931a1234fad7ea33442e2e71599fd589d92f + checksum: a4f0374ca1c7356dbdf1bfada9ec9737581cd1362d5357b66d634a55932c379e66bcaa32cc2e12ead5691f05e609c6069e827bc3535f9212b80899d8f0591a91 languageName: node linkType: hard -"@docusaurus/theme-search-algolia@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/theme-search-algolia@npm:3.1.1" +"@docusaurus/theme-search-algolia@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/theme-search-algolia@npm:3.5.2" dependencies: "@docsearch/react": ^3.5.2 - "@docusaurus/core": 3.1.1 - "@docusaurus/logger": 3.1.1 - "@docusaurus/plugin-content-docs": 3.1.1 - "@docusaurus/theme-common": 3.1.1 - "@docusaurus/theme-translations": 3.1.1 - "@docusaurus/utils": 3.1.1 - "@docusaurus/utils-validation": 3.1.1 + "@docusaurus/core": 3.5.2 + "@docusaurus/logger": 3.5.2 + "@docusaurus/plugin-content-docs": 3.5.2 + "@docusaurus/theme-common": 3.5.2 + "@docusaurus/theme-translations": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-validation": 3.5.2 algoliasearch: ^4.18.0 algoliasearch-helper: ^3.13.3 clsx: ^2.0.0 @@ -3487,30 +4599,30 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 195454130d69c171cd138e1a2aaaf9fdb5caa8192b5c50b3ea6b5f600e7297df6e9e9fd25ceb8f9a06d90476c9d61be58d0603693493c2f413b215f50827d9c6 + checksum: c617528fc0574611e49eb355f99df47e77a295a3c87792f185ec53ce0e7a6b239f017e0d9f8b45d91c87f3c615e9008441978d6daf35debcbb1b48fc9d2d98ee languageName: node linkType: hard -"@docusaurus/theme-translations@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/theme-translations@npm:3.1.1" +"@docusaurus/theme-translations@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/theme-translations@npm:3.5.2" dependencies: fs-extra: ^11.1.1 tslib: ^2.6.0 - checksum: 8f118d6c8b1db719cd62bef0aceec6b1ebd1b0d00960a99360a0b7e337fddb689ca0f1a0f580b25fa4bbfce83966b6f9ddb6b607a105337f1d6388b4a1522e5f + checksum: aa427b55a6d642ff30d67d5b9b8bc9f16f92b8902b125d3d6499c59e7e4ece3549a8a8e9fc017ef1cc68d9b9d5426a35812f8bf829c049103607867d605adc7b languageName: node linkType: hard -"@docusaurus/tsconfig@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/tsconfig@npm:3.1.1" - checksum: 5325ae169c19e155bdaf5b3e5da7ef6d3300a8f24e6271d76c4ae1671c2e385c4d60df72640c8ddd9f640213eeadeb59a16c60fe60b4fe34f70f66da9fa59186 +"@docusaurus/tsconfig@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/tsconfig@npm:3.5.2" + checksum: 1cde5cfadfc94605ba9a1ec8484bc58700bcff99944fa20c6f6d93599126914dc33f15c3464ee3279cf6becafcea86909d1d25a20f8f97e95c8ddf6b1122eac8 languageName: node linkType: hard -"@docusaurus/types@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/types@npm:3.1.1" +"@docusaurus/types@npm:3.5.2, @docusaurus/types@npm:^3.5.2": + version: 3.5.2 + resolution: "@docusaurus/types@npm:3.5.2" dependencies: "@mdx-js/mdx": ^3.0.0 "@types/history": ^4.7.11 @@ -3524,13 +4636,13 @@ __metadata: peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 7322d1f1c19f4c869fe29af58cb8d1fc59b6a7173fc9a019ed75c70a850a89701a0ec77cd3e12c0979f86c18078430f62f72f30cbebad1e19802c5c7f2bed079 + checksum: a06607a8ed96871d9a2c1239e1d94e584acd5c638f7eb4071feb1f18221c25c9b78794b3f804884db201cfdfc67cecdf37a823efe854f435fb4f5a36b28237d4 languageName: node linkType: hard -"@docusaurus/utils-common@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/utils-common@npm:3.1.1" +"@docusaurus/utils-common@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/utils-common@npm:3.5.2" dependencies: tslib: ^2.6.0 peerDependencies: @@ -3538,29 +4650,33 @@ __metadata: peerDependenciesMeta: "@docusaurus/types": optional: true - checksum: b483b4626c521e01a4b8ef1e65636e3a99eedae29177f9ee1052268bd5f5f56e12e9a89563792719f3493909e2afc91a1f36532e3e7e290fc933be1e5fed7d01 + checksum: 17723bed0174d98895eff9666e9988757cb1b3562d90045db7a9a90294d686ca5472f5d7c171de7f306148ae24573ae7e959d31167a8dac8c1b4d7606459e056 languageName: node linkType: hard -"@docusaurus/utils-validation@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/utils-validation@npm:3.1.1" +"@docusaurus/utils-validation@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/utils-validation@npm:3.5.2" dependencies: - "@docusaurus/logger": 3.1.1 - "@docusaurus/utils": 3.1.1 + "@docusaurus/logger": 3.5.2 + "@docusaurus/utils": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + fs-extra: ^11.2.0 joi: ^17.9.2 js-yaml: ^4.1.0 + lodash: ^4.17.21 tslib: ^2.6.0 - checksum: 7075de973c06b0a87ba6ec73ce4f3e79cd1d572823b65f6ebb974459b34353e72a085feaf1358c4841e9ccebc1426c5489dc28e694a47fe177f6270e6979d563 + checksum: b179f7e68f9e3bfad7d03001ca9280e4122592a8995ea7ca31a8a59c5ce3b568af1177b06b41417c98bcd4cd30a7a054d0c06be8384b3f05be37bf239df96213 languageName: node linkType: hard -"@docusaurus/utils@npm:3.1.1": - version: 3.1.1 - resolution: "@docusaurus/utils@npm:3.1.1" +"@docusaurus/utils@npm:3.5.2": + version: 3.5.2 + resolution: "@docusaurus/utils@npm:3.5.2" dependencies: - "@docusaurus/logger": 3.1.1 - "@svgr/webpack": ^6.5.1 + "@docusaurus/logger": 3.5.2 + "@docusaurus/utils-common": 3.5.2 + "@svgr/webpack": ^8.1.0 escape-string-regexp: ^4.0.0 file-loader: ^6.2.0 fs-extra: ^11.1.1 @@ -3571,17 +4687,19 @@ __metadata: js-yaml: ^4.1.0 lodash: ^4.17.21 micromatch: ^4.0.5 + prompts: ^2.4.2 resolve-pathname: ^3.0.0 shelljs: ^0.8.5 tslib: ^2.6.0 url-loader: ^4.1.1 + utility-types: ^3.10.0 webpack: ^5.88.1 peerDependencies: "@docusaurus/types": "*" peerDependenciesMeta: "@docusaurus/types": optional: true - checksum: 063219351c630be7f16b51aa989f4dd479bb3f941ff44f7b857d4713d954e4c64626e17404eb11b3bd6ef218bd5a4a1412b9c42a30c53fd9748bb04a0aa31faf + checksum: a4d2d530c16ffd93bb84f5bc221efb767cba5915cfabd36f83130ba008cbb03a4d79ec324bb1dd0ef2d25d1317692357ee55ec8df0e9e801022e37c633b80ca9 languageName: node linkType: hard @@ -4125,6 +5243,17 @@ __metadata: languageName: node linkType: hard +"@jridgewell/gen-mapping@npm:^0.3.5": + version: 0.3.5 + resolution: "@jridgewell/gen-mapping@npm:0.3.5" + dependencies: + "@jridgewell/set-array": ^1.2.1 + "@jridgewell/sourcemap-codec": ^1.4.10 + "@jridgewell/trace-mapping": ^0.3.24 + checksum: 1be4fd4a6b0f41337c4f5fdf4afc3bd19e39c3691924817108b82ffcb9c9e609c273f936932b9fba4b3a298ce2eb06d9bff4eb1cc3bd81c4f4ee1b4917e25feb + languageName: node + linkType: hard + "@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0": version: 3.1.1 resolution: "@jridgewell/resolve-uri@npm:3.1.1" @@ -4139,6 +5268,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/set-array@npm:^1.2.1": + version: 1.2.1 + resolution: "@jridgewell/set-array@npm:1.2.1" + checksum: 2a5aa7b4b5c3464c895c802d8ae3f3d2b92fcbe84ad12f8d0bfbb1f5ad006717e7577ee1fd2eac00c088abe486c7adb27976f45d2941ff6b0b92b2c3302c60f4 + languageName: node + linkType: hard + "@jridgewell/source-map@npm:^0.3.3": version: 0.3.5 resolution: "@jridgewell/source-map@npm:0.3.5" @@ -4176,6 +5312,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": + version: 0.3.25 + resolution: "@jridgewell/trace-mapping@npm:0.3.25" + dependencies: + "@jridgewell/resolve-uri": ^3.1.0 + "@jridgewell/sourcemap-codec": ^1.4.14 + checksum: 3d1ce6ebc69df9682a5a8896b414c6537e428a1d68b02fcc8363b04284a8ca0df04d0ee3013132252ab14f2527bc13bea6526a912ecb5658f0e39fd2860b4df4 + languageName: node + linkType: hard + "@js-temporal/polyfill@npm:^0.4.4": version: 0.4.4 resolution: "@js-temporal/polyfill@npm:0.4.4" @@ -6599,17 +7745,6 @@ __metadata: languageName: node linkType: hard -"@slorber/static-site-generator-webpack-plugin@npm:^4.0.7": - version: 4.0.7 - resolution: "@slorber/static-site-generator-webpack-plugin@npm:4.0.7" - dependencies: - eval: ^0.1.8 - p-map: ^4.0.0 - webpack-sources: ^3.2.2 - checksum: 6ba8abc2d99e8c513bb955502f9cd219c78b2c7b9b76668bf05067cf369cfa838089b52ee51c957e1e6e8442f9dd4f2bbd8df706a3c3388e9a0d41b09a895f97 - languageName: node - linkType: hard - "@stdlib/array-float32@npm:^0.0.x": version: 0.0.6 resolution: "@stdlib/array-float32@npm:0.0.6" @@ -7795,6 +8930,15 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0": + version: 8.0.0 + resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:8.0.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: a50bd0baa34faf16bcba712091f94c7f0e230431fe99a9dfc3401fa92823ad3f68495b86ab9bf9044b53839e8c416cfbb37eb3f246ff33f261e0fa9ee1779c5b + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:6.5.1" @@ -7804,7 +8948,7 @@ __metadata: languageName: node linkType: hard -"@svgr/babel-plugin-remove-jsx-attribute@npm:*": +"@svgr/babel-plugin-remove-jsx-attribute@npm:*, @svgr/babel-plugin-remove-jsx-attribute@npm:8.0.0": version: 8.0.0 resolution: "@svgr/babel-plugin-remove-jsx-attribute@npm:8.0.0" peerDependencies: @@ -7813,7 +8957,7 @@ __metadata: languageName: node linkType: hard -"@svgr/babel-plugin-remove-jsx-empty-expression@npm:*": +"@svgr/babel-plugin-remove-jsx-empty-expression@npm:*, @svgr/babel-plugin-remove-jsx-empty-expression@npm:8.0.0": version: 8.0.0 resolution: "@svgr/babel-plugin-remove-jsx-empty-expression@npm:8.0.0" peerDependencies: @@ -7822,6 +8966,15 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-plugin-replace-jsx-attribute-value@npm:8.0.0": + version: 8.0.0 + resolution: "@svgr/babel-plugin-replace-jsx-attribute-value@npm:8.0.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 004bd1892053b7e9c1b0bb14acc44e77634ec393722b87b1e4fae53e2c35122a2dd0d5c15e9070dbeec274e22e7693a2b8b48506733a8009ee92b12946fcb10a + languageName: node + linkType: hard + "@svgr/babel-plugin-replace-jsx-attribute-value@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-replace-jsx-attribute-value@npm:6.5.1" @@ -7831,6 +8984,15 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-plugin-svg-dynamic-title@npm:8.0.0": + version: 8.0.0 + resolution: "@svgr/babel-plugin-svg-dynamic-title@npm:8.0.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 80e0a7fcf902f984c705051ca5c82ea6050ccbb70b651a8fea6d0eb5809e4dac274b49ea6be2d87f1eb9dfc0e2d6cdfffe1669ec2117f44b67a60a07d4c0b8b8 + languageName: node + linkType: hard + "@svgr/babel-plugin-svg-dynamic-title@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-svg-dynamic-title@npm:6.5.1" @@ -7840,6 +9002,15 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-plugin-svg-em-dimensions@npm:8.0.0": + version: 8.0.0 + resolution: "@svgr/babel-plugin-svg-em-dimensions@npm:8.0.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 73e92c8277a89279745c0c500f59f083279a8dc30cd552b22981fade2a77628fb2bd2819ee505725fcd2e93f923e3790b52efcff409a159e657b46604a0b9a21 + languageName: node + linkType: hard + "@svgr/babel-plugin-svg-em-dimensions@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-svg-em-dimensions@npm:6.5.1" @@ -7849,6 +9020,15 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-plugin-transform-react-native-svg@npm:8.1.0": + version: 8.1.0 + resolution: "@svgr/babel-plugin-transform-react-native-svg@npm:8.1.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 655ed6bc7a208ceaa4ecff0a54ccc36008c3cb31efa90d11e171cab325ebbb21aa78f09c7b65f9b3ddeda3a85f348c0c862902c48be13c14b4de165c847974e3 + languageName: node + linkType: hard + "@svgr/babel-plugin-transform-react-native-svg@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-transform-react-native-svg@npm:6.5.1" @@ -7858,6 +9038,15 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-plugin-transform-svg-component@npm:8.0.0": + version: 8.0.0 + resolution: "@svgr/babel-plugin-transform-svg-component@npm:8.0.0" + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 4ac00bb99a3db4ef05e4362f116a3c608ee365a2d26cf7318d8d41a4a5b30a02c80455cce0e62c65b60ed815b5d632bedabac2ccd4b56f998fadef5286e3ded4 + languageName: node + linkType: hard + "@svgr/babel-plugin-transform-svg-component@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-transform-svg-component@npm:6.5.1" @@ -7867,6 +9056,24 @@ __metadata: languageName: node linkType: hard +"@svgr/babel-preset@npm:8.1.0": + version: 8.1.0 + resolution: "@svgr/babel-preset@npm:8.1.0" + dependencies: + "@svgr/babel-plugin-add-jsx-attribute": 8.0.0 + "@svgr/babel-plugin-remove-jsx-attribute": 8.0.0 + "@svgr/babel-plugin-remove-jsx-empty-expression": 8.0.0 + "@svgr/babel-plugin-replace-jsx-attribute-value": 8.0.0 + "@svgr/babel-plugin-svg-dynamic-title": 8.0.0 + "@svgr/babel-plugin-svg-em-dimensions": 8.0.0 + "@svgr/babel-plugin-transform-react-native-svg": 8.1.0 + "@svgr/babel-plugin-transform-svg-component": 8.0.0 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 49367d3ad0831f79b1056871b91766246f449d4d1168623af5e283fbaefce4a01d77ab00de6b045b55e956f9aae27895823198493cd232d88d3435ea4517ffc5 + languageName: node + linkType: hard + "@svgr/babel-preset@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-preset@npm:6.5.1" @@ -7885,7 +9092,20 @@ __metadata: languageName: node linkType: hard -"@svgr/core@npm:^6.2.1, @svgr/core@npm:^6.5.1": +"@svgr/core@npm:8.1.0": + version: 8.1.0 + resolution: "@svgr/core@npm:8.1.0" + dependencies: + "@babel/core": ^7.21.3 + "@svgr/babel-preset": 8.1.0 + camelcase: ^6.2.0 + cosmiconfig: ^8.1.3 + snake-case: ^3.0.4 + checksum: 6a2f6b1bc79bce39f66f088d468985d518005fc5147ebf4f108570a933818b5951c2cb7da230ddff4b7c8028b5a672b2d33aa2acce012b8b9770073aa5a2d041 + languageName: node + linkType: hard + +"@svgr/core@npm:^6.2.1": version: 6.5.1 resolution: "@svgr/core@npm:6.5.1" dependencies: @@ -7898,6 +9118,16 @@ __metadata: languageName: node linkType: hard +"@svgr/hast-util-to-babel-ast@npm:8.0.0": + version: 8.0.0 + resolution: "@svgr/hast-util-to-babel-ast@npm:8.0.0" + dependencies: + "@babel/types": ^7.21.3 + entities: ^4.4.0 + checksum: f4165b583ba9eaf6719e598977a7b3ed182f177983e55f9eb55a6a73982d81277510e9eb7ab41f255151fb9ed4edd11ac4bef95dd872f04ed64966d8c85e0f79 + languageName: node + linkType: hard + "@svgr/hast-util-to-babel-ast@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/hast-util-to-babel-ast@npm:6.5.1" @@ -7908,6 +9138,20 @@ __metadata: languageName: node linkType: hard +"@svgr/plugin-jsx@npm:8.1.0": + version: 8.1.0 + resolution: "@svgr/plugin-jsx@npm:8.1.0" + dependencies: + "@babel/core": ^7.21.3 + "@svgr/babel-preset": 8.1.0 + "@svgr/hast-util-to-babel-ast": 8.0.0 + svg-parser: ^2.0.4 + peerDependencies: + "@svgr/core": "*" + checksum: 07b4d9e00de795540bf70556fa2cc258774d01e97a12a26234c6fdf42b309beb7c10f31ee24d1a71137239347b1547b8bb5587d3a6de10669f95dcfe99cddc56 + languageName: node + linkType: hard + "@svgr/plugin-jsx@npm:^6.2.1, @svgr/plugin-jsx@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/plugin-jsx@npm:6.5.1" @@ -7922,7 +9166,20 @@ __metadata: languageName: node linkType: hard -"@svgr/plugin-svgo@npm:^6.2.0, @svgr/plugin-svgo@npm:^6.5.1": +"@svgr/plugin-svgo@npm:8.1.0": + version: 8.1.0 + resolution: "@svgr/plugin-svgo@npm:8.1.0" + dependencies: + cosmiconfig: ^8.1.3 + deepmerge: ^4.3.1 + svgo: ^3.0.2 + peerDependencies: + "@svgr/core": "*" + checksum: bfd25460f23f1548bfb8f6f3bedd6d6972c1a4f8881bd35a4f8c115218da6e999e8f9ac0ef0ed88c4e0b93fcec37f382b94c0322f4ec2b26752a89e5cc8b9d7a + languageName: node + linkType: hard + +"@svgr/plugin-svgo@npm:^6.2.0": version: 6.5.1 resolution: "@svgr/plugin-svgo@npm:6.5.1" dependencies: @@ -7951,19 +9208,19 @@ __metadata: languageName: node linkType: hard -"@svgr/webpack@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/webpack@npm:6.5.1" +"@svgr/webpack@npm:^8.1.0": + version: 8.1.0 + resolution: "@svgr/webpack@npm:8.1.0" dependencies: - "@babel/core": ^7.19.6 - "@babel/plugin-transform-react-constant-elements": ^7.18.12 - "@babel/preset-env": ^7.19.4 + "@babel/core": ^7.21.3 + "@babel/plugin-transform-react-constant-elements": ^7.21.3 + "@babel/preset-env": ^7.20.2 "@babel/preset-react": ^7.18.6 - "@babel/preset-typescript": ^7.18.6 - "@svgr/core": ^6.5.1 - "@svgr/plugin-jsx": ^6.5.1 - "@svgr/plugin-svgo": ^6.5.1 - checksum: 3e9edfbc2ef3dc07b5f50c9c5ff5c951048511dff9dffb0407e6d15343849dfb36099fc7e1e3911429382cab81f7735a86ba1d6f77d21bb8f9ca33a5dec4824a + "@babel/preset-typescript": ^7.21.0 + "@svgr/core": 8.1.0 + "@svgr/plugin-jsx": 8.1.0 + "@svgr/plugin-svgo": 8.1.0 + checksum: 4c1cac45bd5890de8643e5a7bfb71f3bcd8b85ae5bbacf10b8ad9f939b7a98e8d601c3ada204ffb95223abf4a24beeac5a2a0d6928a52a1ab72a29da3c015c22 languageName: node linkType: hard @@ -9943,21 +11200,39 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:^10.4.12, autoprefixer@npm:^10.4.14": - version: 10.4.16 - resolution: "autoprefixer@npm:10.4.16" +"autoprefixer@npm:^10.4.14": + version: 10.4.16 + resolution: "autoprefixer@npm:10.4.16" + dependencies: + browserslist: ^4.21.10 + caniuse-lite: ^1.0.30001538 + fraction.js: ^4.3.6 + normalize-range: ^0.1.2 + picocolors: ^1.0.0 + postcss-value-parser: ^4.2.0 + peerDependencies: + postcss: ^8.1.0 + bin: + autoprefixer: bin/autoprefixer + checksum: e00256e754d481a026d928bca729b25954074dd142dbec022f0a7db0d3bbc0dc2e2dc7542e94fec22eff81e21fe140e6856448e2d9a002660cb1e2ad434daee0 + languageName: node + linkType: hard + +"autoprefixer@npm:^10.4.19": + version: 10.4.20 + resolution: "autoprefixer@npm:10.4.20" dependencies: - browserslist: ^4.21.10 - caniuse-lite: ^1.0.30001538 - fraction.js: ^4.3.6 + browserslist: ^4.23.3 + caniuse-lite: ^1.0.30001646 + fraction.js: ^4.3.7 normalize-range: ^0.1.2 - picocolors: ^1.0.0 + picocolors: ^1.0.1 postcss-value-parser: ^4.2.0 peerDependencies: postcss: ^8.1.0 bin: autoprefixer: bin/autoprefixer - checksum: e00256e754d481a026d928bca729b25954074dd142dbec022f0a7db0d3bbc0dc2e2dc7542e94fec22eff81e21fe140e6856448e2d9a002660cb1e2ad434daee0 + checksum: e1f00978a26e7c5b54ab12036d8c13833fad7222828fc90914771b1263f51b28c7ddb5803049de4e77696cbd02bb25cfc3634e80533025bb26c26aacdf938940 languageName: node linkType: hard @@ -10006,6 +11281,19 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-corejs2@npm:^0.4.10": + version: 0.4.11 + resolution: "babel-plugin-polyfill-corejs2@npm:0.4.11" + dependencies: + "@babel/compat-data": ^7.22.6 + "@babel/helper-define-polyfill-provider": ^0.6.2 + semver: ^6.3.1 + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: b2217bc8d5976cf8142453ed44daabf0b2e0e75518f24eac83b54a8892e87a88f1bd9089daa92fd25df979ecd0acfd29b6bc28c4182c1c46344cee15ef9bce84 + languageName: node + linkType: hard + "babel-plugin-polyfill-corejs2@npm:^0.4.5": version: 0.4.5 resolution: "babel-plugin-polyfill-corejs2@npm:0.4.5" @@ -10032,6 +11320,18 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-corejs3@npm:^0.10.6": + version: 0.10.6 + resolution: "babel-plugin-polyfill-corejs3@npm:0.10.6" + dependencies: + "@babel/helper-define-polyfill-provider": ^0.6.2 + core-js-compat: ^3.38.0 + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: 3a69220471b07722c2ae6537310bf26b772514e12b601398082965459c838be70a0ca70b0662f0737070654ff6207673391221d48599abb4a2b27765206d9f79 + languageName: node + linkType: hard + "babel-plugin-polyfill-corejs3@npm:^0.8.3": version: 0.8.3 resolution: "babel-plugin-polyfill-corejs3@npm:0.8.3" @@ -10078,6 +11378,17 @@ __metadata: languageName: node linkType: hard +"babel-plugin-polyfill-regenerator@npm:^0.6.1": + version: 0.6.2 + resolution: "babel-plugin-polyfill-regenerator@npm:0.6.2" + dependencies: + "@babel/helper-define-polyfill-provider": ^0.6.2 + peerDependencies: + "@babel/core": ^7.4.0 || ^8.0.0-0 <8.0.0 + checksum: bc541037cf7620bc84ddb75a1c0ce3288f90e7d2799c070a53f8a495c8c8ae0316447becb06f958dd25dcce2a2fce855d318ecfa48036a1ddb218d55aa38a744 + languageName: node + linkType: hard + "bail@npm:^2.0.0": version: 2.0.2 resolution: "bail@npm:2.0.2" @@ -10212,7 +11523,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.18.1, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.21.5, browserslist@npm:^4.21.9": +"browserslist@npm:^4.0.0, browserslist@npm:^4.14.5, browserslist@npm:^4.18.1, browserslist@npm:^4.21.10, browserslist@npm:^4.21.5, browserslist@npm:^4.21.9": version: 4.21.10 resolution: "browserslist@npm:4.21.10" dependencies: @@ -10254,6 +11565,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.23.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0": + version: 4.24.2 + resolution: "browserslist@npm:4.24.2" + dependencies: + caniuse-lite: ^1.0.30001669 + electron-to-chromium: ^1.5.41 + node-releases: ^2.0.18 + update-browserslist-db: ^1.1.1 + bin: + browserslist: cli.js + checksum: d747c9fb65ed7b4f1abcae4959405707ed9a7b835639f8a9ba0da2911995a6ab9b0648fd05baf2a4d4e3cf7f9fdbad56d3753f91881e365992c1d49c8d88ff7a + languageName: node + linkType: hard + "buffer-from@npm:^1.0.0": version: 1.1.2 resolution: "buffer-from@npm:1.1.2" @@ -10439,6 +11764,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669": + version: 1.0.30001669 + resolution: "caniuse-lite@npm:1.0.30001669" + checksum: f125f23440d3dbb6c25ffb8d55f4ce48af36a84d0932b152b3b74f143a4170cbe92e02b0a9676209c86609bf7bf34119ff10cc2bc7c1b7ea40e936cc16598408 + languageName: node + linkType: hard + "ccount@npm:^2.0.0": version: 2.0.1 resolution: "ccount@npm:2.0.1" @@ -10544,7 +11876,7 @@ __metadata: languageName: node linkType: hard -"cheerio@npm:^1.0.0-rc.12": +"cheerio@npm:1.0.0-rc.12": version: 1.0.0-rc.12 resolution: "cheerio@npm:1.0.0-rc.12" dependencies: @@ -10760,7 +12092,7 @@ __metadata: languageName: node linkType: hard -"colord@npm:^2.9.1": +"colord@npm:^2.9.3": version: 2.9.3 resolution: "colord@npm:2.9.3" checksum: 9699e956894d8996b28c686afe8988720785f476f59335c80ce852ded76ab3ebe252703aec53d9bef54f6219aea6b960fb3d9a8300058a1d0c0d4026460cd110 @@ -11058,6 +12390,15 @@ __metadata: languageName: node linkType: hard +"core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": + version: 3.38.1 + resolution: "core-js-compat@npm:3.38.1" + dependencies: + browserslist: ^4.23.3 + checksum: d8bc8a35591fc5fbf3e376d793f298ec41eb452619c7ef9de4ea59b74be06e9fda799e0dcbf9ba59880dae87e3b41fb191d744ffc988315642a1272bb9442b31 + languageName: node + linkType: hard + "core-js-pure@npm:^3.30.2": version: 3.32.2 resolution: "core-js-pure@npm:3.32.2" @@ -11123,7 +12464,7 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^8.2.0": +"cosmiconfig@npm:^8.1.3, cosmiconfig@npm:^8.2.0": version: 8.3.6 resolution: "cosmiconfig@npm:8.3.6" dependencies: @@ -11206,12 +12547,12 @@ __metadata: languageName: node linkType: hard -"css-declaration-sorter@npm:^6.3.1": - version: 6.4.1 - resolution: "css-declaration-sorter@npm:6.4.1" +"css-declaration-sorter@npm:^7.2.0": + version: 7.2.0 + resolution: "css-declaration-sorter@npm:7.2.0" peerDependencies: postcss: ^8.0.9 - checksum: b8b664338dac528266a1ed9b27927ac51a907fb16bc1954fa9038b5286c442603bd494cc920c6a3616111309d18ee6b5a85b6d9927938efc942af452a5145160 + checksum: d8516be94f8f2daa233ef021688b965c08161624cbf830a4d7ee1099429437c0ee124d35c91b1c659cfd891a68e8888aa941726dab12279bc114aaed60a94606 languageName: node linkType: hard @@ -11233,16 +12574,16 @@ __metadata: languageName: node linkType: hard -"css-minimizer-webpack-plugin@npm:^4.2.2": - version: 4.2.2 - resolution: "css-minimizer-webpack-plugin@npm:4.2.2" +"css-minimizer-webpack-plugin@npm:^5.0.1": + version: 5.0.1 + resolution: "css-minimizer-webpack-plugin@npm:5.0.1" dependencies: - cssnano: ^5.1.8 - jest-worker: ^29.1.2 - postcss: ^8.4.17 - schema-utils: ^4.0.0 - serialize-javascript: ^6.0.0 - source-map: ^0.6.1 + "@jridgewell/trace-mapping": ^0.3.18 + cssnano: ^6.0.1 + jest-worker: ^29.4.3 + postcss: ^8.4.24 + schema-utils: ^4.0.1 + serialize-javascript: ^6.0.1 peerDependencies: webpack: ^5.0.0 peerDependenciesMeta: @@ -11258,7 +12599,7 @@ __metadata: optional: true lightningcss: optional: true - checksum: 05cd1460b83d9a5f8878fd63d3a80fd100cbb10f48e295a6ad52519761f3390e1e1bc0e269ff28d15b062a1b11379e04608d50ee30424e177c281bd845fef9fb + checksum: 1792259e18f7c5ee25b6bbf60b38b64201747add83d1f751c8c654159b46ebacd0d1103d35f17d97197033e21e02d2ba4a4e9aa14c9c0d067b7c7653c721814e languageName: node linkType: hard @@ -11298,6 +12639,26 @@ __metadata: languageName: node linkType: hard +"css-tree@npm:^2.3.1": + version: 2.3.1 + resolution: "css-tree@npm:2.3.1" + dependencies: + mdn-data: 2.0.30 + source-map-js: ^1.0.1 + checksum: 6f8c1a11d5e9b14bf02d10717fc0351b66ba12594166f65abfbd8eb8b5b490dd367f5c7721db241a3c792d935fc6751fbc09f7e1598d421477ad9fadc30f4f24 + languageName: node + linkType: hard + +"css-tree@npm:~2.2.0": + version: 2.2.1 + resolution: "css-tree@npm:2.2.1" + dependencies: + mdn-data: 2.0.28 + source-map-js: ^1.0.1 + checksum: 47e87b0f02f8ac22f57eceb65c58011dd142d2158128882a0bf963cf2eabb81a4ebbc2e3790c8289be7919fa8b83750c7b69272bd66772c708143b772ba3c186 + languageName: node + linkType: hard + "css-what@npm:^6.0.1, css-what@npm:^6.1.0": version: 6.1.0 resolution: "css-what@npm:6.1.0" @@ -11314,80 +12675,81 @@ __metadata: languageName: node linkType: hard -"cssnano-preset-advanced@npm:^5.3.10": - version: 5.3.10 - resolution: "cssnano-preset-advanced@npm:5.3.10" - dependencies: - autoprefixer: ^10.4.12 - cssnano-preset-default: ^5.2.14 - postcss-discard-unused: ^5.1.0 - postcss-merge-idents: ^5.1.1 - postcss-reduce-idents: ^5.2.0 - postcss-zindex: ^5.1.0 - peerDependencies: - postcss: ^8.2.15 - checksum: abfa870a6e3ab52cddfea7cac83f49b510efb941c7f2960ca9d41ae11fabbe03e9453cad7f81fd1b35cf6080c94094cd7bb1b58c07fad4cf0453f6e4bb9a07ae - languageName: node - linkType: hard - -"cssnano-preset-default@npm:^5.2.14": - version: 5.2.14 - resolution: "cssnano-preset-default@npm:5.2.14" - dependencies: - css-declaration-sorter: ^6.3.1 - cssnano-utils: ^3.1.0 - postcss-calc: ^8.2.3 - postcss-colormin: ^5.3.1 - postcss-convert-values: ^5.1.3 - postcss-discard-comments: ^5.1.2 - postcss-discard-duplicates: ^5.1.0 - postcss-discard-empty: ^5.1.1 - postcss-discard-overridden: ^5.1.0 - postcss-merge-longhand: ^5.1.7 - postcss-merge-rules: ^5.1.4 - postcss-minify-font-values: ^5.1.0 - postcss-minify-gradients: ^5.1.1 - postcss-minify-params: ^5.1.4 - postcss-minify-selectors: ^5.2.1 - postcss-normalize-charset: ^5.1.0 - postcss-normalize-display-values: ^5.1.0 - postcss-normalize-positions: ^5.1.1 - postcss-normalize-repeat-style: ^5.1.1 - postcss-normalize-string: ^5.1.0 - postcss-normalize-timing-functions: ^5.1.0 - postcss-normalize-unicode: ^5.1.1 - postcss-normalize-url: ^5.1.0 - postcss-normalize-whitespace: ^5.1.1 - postcss-ordered-values: ^5.1.3 - postcss-reduce-initial: ^5.1.2 - postcss-reduce-transforms: ^5.1.0 - postcss-svgo: ^5.1.0 - postcss-unique-selectors: ^5.1.1 - peerDependencies: - postcss: ^8.2.15 - checksum: d125bdb9ac007f97f920e30be953c550a8e7de0cb9298f67e0bc9744f4b920039046b5a6b817e345872836b08689af747f82fbf2189c8bd48da3e6f0c1087b89 - languageName: node - linkType: hard - -"cssnano-utils@npm:^3.1.0": - version: 3.1.0 - resolution: "cssnano-utils@npm:3.1.0" +"cssnano-preset-advanced@npm:^6.1.2": + version: 6.1.2 + resolution: "cssnano-preset-advanced@npm:6.1.2" + dependencies: + autoprefixer: ^10.4.19 + browserslist: ^4.23.0 + cssnano-preset-default: ^6.1.2 + postcss-discard-unused: ^6.0.5 + postcss-merge-idents: ^6.0.3 + postcss-reduce-idents: ^6.0.3 + postcss-zindex: ^6.0.2 + peerDependencies: + postcss: ^8.4.31 + checksum: 22d3ddab258e6b31e7e2e7c48712f023b60fadb2813929752dace0326e28cd250830b5420a33f81b01df52d2460cb5f999fff5907f58508809efe1a8a739a707 + languageName: node + linkType: hard + +"cssnano-preset-default@npm:^6.1.2": + version: 6.1.2 + resolution: "cssnano-preset-default@npm:6.1.2" + dependencies: + browserslist: ^4.23.0 + css-declaration-sorter: ^7.2.0 + cssnano-utils: ^4.0.2 + postcss-calc: ^9.0.1 + postcss-colormin: ^6.1.0 + postcss-convert-values: ^6.1.0 + postcss-discard-comments: ^6.0.2 + postcss-discard-duplicates: ^6.0.3 + postcss-discard-empty: ^6.0.3 + postcss-discard-overridden: ^6.0.2 + postcss-merge-longhand: ^6.0.5 + postcss-merge-rules: ^6.1.1 + postcss-minify-font-values: ^6.1.0 + postcss-minify-gradients: ^6.0.3 + postcss-minify-params: ^6.1.0 + postcss-minify-selectors: ^6.0.4 + postcss-normalize-charset: ^6.0.2 + postcss-normalize-display-values: ^6.0.2 + postcss-normalize-positions: ^6.0.2 + postcss-normalize-repeat-style: ^6.0.2 + postcss-normalize-string: ^6.0.2 + postcss-normalize-timing-functions: ^6.0.2 + postcss-normalize-unicode: ^6.1.0 + postcss-normalize-url: ^6.0.2 + postcss-normalize-whitespace: ^6.0.2 + postcss-ordered-values: ^6.0.2 + postcss-reduce-initial: ^6.1.0 + postcss-reduce-transforms: ^6.0.2 + postcss-svgo: ^6.0.3 + postcss-unique-selectors: ^6.0.4 + peerDependencies: + postcss: ^8.4.31 + checksum: af99021f936763850f5f35dc9e6a9dfb0da30856dea36e0420b011da2a447099471db2a5f3d1f5f52c0489da186caf9a439d8f048a80f82617077efb018333fa + languageName: node + linkType: hard + +"cssnano-utils@npm:^4.0.2": + version: 4.0.2 + resolution: "cssnano-utils@npm:4.0.2" peerDependencies: - postcss: ^8.2.15 - checksum: 057508645a3e7584decede1045daa5b362dbfa2f5df96c3527c7d52e41e787a3442a56a8ea0c0af6a757f518e79a459ee580a35c323ad0d0eec912afd67d7630 + postcss: ^8.4.31 + checksum: 260b8c8ffa48b908aa77ef129f9b8648ecd92aed405b20e7fe6b8370779dd603530344fc9d96683d53533246e48b36ac9d2aa5a476b4f81c547bbad86d187f35 languageName: node linkType: hard -"cssnano@npm:^5.1.15, cssnano@npm:^5.1.8": - version: 5.1.15 - resolution: "cssnano@npm:5.1.15" +"cssnano@npm:^6.0.1, cssnano@npm:^6.1.2": + version: 6.1.2 + resolution: "cssnano@npm:6.1.2" dependencies: - cssnano-preset-default: ^5.2.14 - lilconfig: ^2.0.3 - yaml: ^1.10.2 + cssnano-preset-default: ^6.1.2 + lilconfig: ^3.1.1 peerDependencies: - postcss: ^8.2.15 - checksum: 4252e4f4edd7a0fbdd4017825c0f8632b7a12ecbfdd432d2ff7ec268d48eb956a0a10bbf209602181f9f84ceeecea4a864719ecde03aa2cc48f5d9636fcf5f9a + postcss: ^8.4.31 + checksum: 4df0dc0389b34b38acb09b7cfb07267b0eda95349c6d5e9b7666acc7200bb33359650869a60168e9d878298b05f4ad2c7f070815c90551720a3f4e1037f79691 languageName: node linkType: hard @@ -11400,6 +12762,15 @@ __metadata: languageName: node linkType: hard +"csso@npm:^5.0.5": + version: 5.0.5 + resolution: "csso@npm:5.0.5" + dependencies: + css-tree: ~2.2.0 + checksum: ab4beb1e97dd7e207c10e9925405b45f15a6cd1b4880a8686ad573aa6d476aed28b4121a666cffd26c37a26179f7b54741f7c257543003bfb244d06a62ad569b + languageName: node + linkType: hard + "cssstyle@npm:^3.0.0": version: 3.0.0 resolution: "cssstyle@npm:3.0.0" @@ -11959,7 +13330,7 @@ __metadata: languageName: node linkType: hard -"deepmerge@npm:^4.2.2": +"deepmerge@npm:^4.2.2, deepmerge@npm:^4.3.1": version: 4.3.1 resolution: "deepmerge@npm:4.3.1" checksum: e53481aaf1aa2c4082b5342be6b6d8ad9dfe387bc92ce197a66dea08bd4265904a087e75e464f14d1347cf2ac8afe1e4c16b266e0561cc5df29382d3c5f80044 @@ -12255,13 +13626,13 @@ __metadata: "@babel/preset-react": ^7.18.6 "@cloudinary/react": ^1.11.2 "@cloudinary/url-gen": ^1.9.2 - "@docusaurus/core": 3.1.1 - "@docusaurus/module-type-aliases": 3.1.1 - "@docusaurus/preset-classic": 3.1.1 - "@docusaurus/remark-plugin-npm2yarn": 3.1.1 - "@docusaurus/theme-mermaid": 3.1.1 - "@docusaurus/tsconfig": 3.1.1 - "@docusaurus/types": 3.1.1 + "@docusaurus/core": ^3.5.2 + "@docusaurus/module-type-aliases": ^3.5.2 + "@docusaurus/preset-classic": ^3.5.2 + "@docusaurus/remark-plugin-npm2yarn": ^3.5.2 + "@docusaurus/theme-mermaid": ^3.5.2 + "@docusaurus/tsconfig": ^3.5.2 + "@docusaurus/types": ^3.5.2 "@mdx-js/mdx": 3.0.0 "@mdx-js/react": 3 "@medusajs/icons": ^1.2.0 @@ -12511,6 +13882,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.5.41": + version: 1.5.43 + resolution: "electron-to-chromium@npm:1.5.43" + checksum: d13f271f80807d1de3440a80849cbfcaa9810338e107c846ef5f1117e3a4a0267ae2d4f16a52c98438a06e9b65d83a0fb06d3f396de25e8cb303e6906ac4bd8c + languageName: node + linkType: hard + "elkjs@npm:^0.8.2": version: 0.8.2 resolution: "elkjs@npm:0.8.2" @@ -13028,6 +14406,13 @@ __metadata: languageName: node linkType: hard +"escalade@npm:^3.2.0": + version: 3.2.0 + resolution: "escalade@npm:3.2.0" + checksum: ced4dd3a78e15897ed3be74e635110bbf3b08877b0a41be50dcb325ee0e0b5f65fc2d50e9845194d7c4633f327e2e1c6cce00a71b617c5673df0374201d67f65 + languageName: node + linkType: hard + "escape-goat@npm:^4.0.0": version: 4.0.0 resolution: "escape-goat@npm:4.0.0" @@ -13068,7 +14453,7 @@ __metadata: resolution: "eslint-config-docs@workspace:packages/eslint-config-docs" dependencies: "@babel/eslint-parser": ^7.22.15 - "@docusaurus/eslint-plugin": 3.1.1 + "@docusaurus/eslint-plugin": ^3.5.2 "@typescript-eslint/eslint-plugin": ^6.18.1 "@typescript-eslint/parser": ^6.18.1 eslint: ^8.36.0 @@ -14022,6 +15407,13 @@ __metadata: languageName: node linkType: hard +"fraction.js@npm:^4.3.7": + version: 4.3.7 + resolution: "fraction.js@npm:4.3.7" + checksum: df291391beea9ab4c263487ffd9d17fed162dbb736982dee1379b2a8cc94e4e24e46ed508c6d278aded9080ba51872f1bc5f3a5fd8d7c74e5f105b508ac28711 + languageName: node + linkType: hard + "fresh@npm:0.5.2": version: 0.5.2 resolution: "fresh@npm:0.5.2" @@ -14040,6 +15432,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^11.2.0": + version: 11.2.0 + resolution: "fs-extra@npm:11.2.0" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: d77a9a9efe60532d2e790e938c81a02c1b24904ef7a3efb3990b835514465ba720e99a6ea56fd5e2db53b4695319b644d76d5a0e9988a2beef80aa7b1da63398 + languageName: node + linkType: hard + "fs-extra@npm:^9.0.0": version: 9.1.0 resolution: "fs-extra@npm:9.1.0" @@ -15226,10 +16629,10 @@ __metadata: languageName: node linkType: hard -"infima@npm:0.2.0-alpha.43": - version: 0.2.0-alpha.43 - resolution: "infima@npm:0.2.0-alpha.43" - checksum: d248958713a97e1c9f73ace27ceff726ba86a9b534efb0ebdec3e72b785d8edb36db922e38ce09bbeb98a17b657e61357f22edc3a58f02ad51b7ae2ebd96e4e4 +"infima@npm:0.2.0-alpha.44": + version: 0.2.0-alpha.44 + resolution: "infima@npm:0.2.0-alpha.44" + checksum: 0fe2b7882e09187ee62e5192673c542513fe4743f727f887e195de4f26eb792ddf81577ca98c34a69ab7eb39251f60531b9ad6d2f454553bac326b1afc9d68b5 languageName: node linkType: hard @@ -15949,7 +17352,7 @@ __metadata: languageName: node linkType: hard -"jest-worker@npm:^29.1.2": +"jest-worker@npm:^29.4.3": version: 29.7.0 resolution: "jest-worker@npm:29.7.0" dependencies: @@ -16088,6 +17491,15 @@ __metadata: languageName: node linkType: hard +"jsesc@npm:^3.0.2, jsesc@npm:~3.0.2": + version: 3.0.2 + resolution: "jsesc@npm:3.0.2" + bin: + jsesc: bin/jsesc + checksum: ef22148f9e793180b14d8a145ee6f9f60f301abf443288117b4b6c53d0ecd58354898dc506ccbb553a5f7827965cd38bc5fb726575aae93c5e8915e2de8290e1 + languageName: node + linkType: hard + "jsesc@npm:~0.5.0": version: 0.5.0 resolution: "jsesc@npm:0.5.0" @@ -16338,13 +17750,20 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:^2.0.3, lilconfig@npm:^2.0.5, lilconfig@npm:^2.1.0": +"lilconfig@npm:^2.0.5, lilconfig@npm:^2.1.0": version: 2.1.0 resolution: "lilconfig@npm:2.1.0" checksum: 64645641aa8d274c99338e130554abd6a0190533c0d9eb2ce7ebfaf2e05c7d9961f3ffe2bfa39efd3b60c521ba3dd24fa236fe2775fc38501bf82bf49d4678b8 languageName: node linkType: hard +"lilconfig@npm:^3.1.1": + version: 3.1.2 + resolution: "lilconfig@npm:3.1.2" + checksum: f059630b1a9bddaeba83059db00c672b64dc14074e9f232adce32b38ca1b5686ab737eb665c5ba3c32f147f0002b4bee7311ad0386a9b98547b5623e87071fbe + languageName: node + linkType: hard + "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -17080,6 +18499,20 @@ __metadata: languageName: node linkType: hard +"mdn-data@npm:2.0.28": + version: 2.0.28 + resolution: "mdn-data@npm:2.0.28" + checksum: 20000932bc4cd1cde9cba4e23f08cc4f816398af4c15ec81040ed25421d6bf07b5cf6b17095972577fb498988f40f4cb589e3169b9357bb436a12d8e07e5ea7b + languageName: node + linkType: hard + +"mdn-data@npm:2.0.30": + version: 2.0.30 + resolution: "mdn-data@npm:2.0.30" + checksum: a2c472ea16cee3911ae742593715aa4c634eb3d4b9f1e6ada0902aa90df13dcbb7285d19435f3ff213ebaa3b2e0c0265c1eb0e3fb278fda7f8919f046a410cd9 + languageName: node + linkType: hard + "mdx-bundler@npm:^9.2.1": version: 9.2.1 resolution: "mdx-bundler@npm:9.2.1" @@ -18348,6 +19781,15 @@ __metadata: languageName: node linkType: hard +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" + bin: + nanoid: bin/nanoid.cjs + checksum: e3fb661aa083454f40500473bb69eedb85dc160e763150b9a2c567c7e9ff560ce028a9f833123b618a6ea742e311138b591910e795614a629029e86e180660f3 + languageName: node + linkType: hard + "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -18688,6 +20130,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.18": + version: 2.0.18 + resolution: "node-releases@npm:2.0.18" + checksum: 786ac9db9d7226339e1dc84bbb42007cb054a346bd9257e6aa154d294f01bc6a6cddb1348fa099f079be6580acbb470e3c048effd5f719325abd0179e566fd27 + languageName: node + linkType: hard + "non-layered-tidy-tree-layout@npm:^2.0.2": version: 2.0.2 resolution: "non-layered-tidy-tree-layout@npm:2.0.2" @@ -18731,13 +20180,6 @@ __metadata: languageName: node linkType: hard -"normalize-url@npm:^6.0.1": - version: 6.1.0 - resolution: "normalize-url@npm:6.1.0" - checksum: 95d948f9bdd2cfde91aa786d1816ae40f8262946e13700bf6628105994fe0ff361662c20af3961161c38a119dc977adeb41fc0b41b1745eb77edaaf9cb22db23 - languageName: node - linkType: hard - "normalize-url@npm:^8.0.0": version: 8.0.0 resolution: "normalize-url@npm:8.0.0" @@ -18754,14 +20196,7 @@ __metadata: languageName: node linkType: hard -"npm-to-yarn@npm:^2.0.0": - version: 2.1.0 - resolution: "npm-to-yarn@npm:2.1.0" - checksum: c2a406b74d12cf5b09a2eb3c51973f1232bc023bce383d0f8442be0dc17b4618ad4fcb2f0a2beca7bef046d778eb61bfefe6b24f4ac92fd17ebaa8bd5a6a7606 - languageName: node - linkType: hard - -"npm-to-yarn@npm:^2.1.0": +"npm-to-yarn@npm:^2.1.0, npm-to-yarn@npm:^2.2.1": version: 2.2.1 resolution: "npm-to-yarn@npm:2.2.1" checksum: 65c696a3e595facad802b6b13c04e504806ea88fd4f87ab758f8042c19f65b4c4822815a47095df944b0809a95e574c27323c33cca5533f8454515eaa6e14fac @@ -19378,6 +20813,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.0.1, picocolors@npm:^1.1.0": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -19426,88 +20868,88 @@ __metadata: languageName: node linkType: hard -"postcss-calc@npm:^8.2.3": - version: 8.2.4 - resolution: "postcss-calc@npm:8.2.4" +"postcss-calc@npm:^9.0.1": + version: 9.0.1 + resolution: "postcss-calc@npm:9.0.1" dependencies: - postcss-selector-parser: ^6.0.9 + postcss-selector-parser: ^6.0.11 postcss-value-parser: ^4.2.0 peerDependencies: postcss: ^8.2.2 - checksum: 8518a429488c3283ff1560c83a511f6f772329bc61d88875eb7c83e13a8683b7ccbdccaa9946024cf1553da3eacd2f40fcbcebf1095f7fdeb432bf86bc6ba6ba + checksum: e0df07337162dbcaac5d6e030c7fd289e21da8766a9daca5d6b2b3c8094bb524ae5d74c70048ea7fe5fe4960ce048c60ac97922d917c3bbff34f58e9d2b0eb0e languageName: node linkType: hard -"postcss-colormin@npm:^5.3.1": - version: 5.3.1 - resolution: "postcss-colormin@npm:5.3.1" +"postcss-colormin@npm:^6.1.0": + version: 6.1.0 + resolution: "postcss-colormin@npm:6.1.0" dependencies: - browserslist: ^4.21.4 + browserslist: ^4.23.0 caniuse-api: ^3.0.0 - colord: ^2.9.1 + colord: ^2.9.3 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: c4ca6f335dd992dc8e3df24bffc3495c4e504eba8489c81cb6836fdce3203f423cf4c0b640c4b63c586f588c59d82adb5313c3c5d1a68113896d18ed71caa462 + postcss: ^8.4.31 + checksum: 0802963fa0d8f2fe408b2e088117670f5303c69a58c135f0ecf0e5ceff69e95e87111b22c4e29c9adb2f69aa8d3bc175f4e8e8708eeb99c9ffc36c17064de427 languageName: node linkType: hard -"postcss-convert-values@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-convert-values@npm:5.1.3" +"postcss-convert-values@npm:^6.1.0": + version: 6.1.0 + resolution: "postcss-convert-values@npm:6.1.0" dependencies: - browserslist: ^4.21.4 + browserslist: ^4.23.0 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: cd10a81781a12487b2921ff84a1a068e948a1956b9539a284c202abecf4cacdd3e106eb026026b22dbf70933f4315c824c111f6b71f56c355e47b842ca9b1dec + postcss: ^8.4.31 + checksum: a80066965cb58fe8fcaf79f306b32c83fc678e1f0678e43f4db3e9fee06eed6db92cf30631ad348a17492769d44757400493c91a33ee865ee8dedea9234a11f5 languageName: node linkType: hard -"postcss-discard-comments@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-discard-comments@npm:5.1.2" +"postcss-discard-comments@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-discard-comments@npm:6.0.2" peerDependencies: - postcss: ^8.2.15 - checksum: cb5ba81623c498e18d406138e7d27d69fc668802a1139a8de69d28e80b3fe222cda7b634940512cae78d04f0c78afcd15d92bcf80e537c6c85fa8ff9cd61d00f + postcss: ^8.4.31 + checksum: 338a1fcba7e2314d956e5e5b9bd1e12e6541991bf85ac72aed6e229a029bf60edb31f11576b677623576169aa7d9c75e1be259ac7b50d0b735b841b5518f9da9 languageName: node linkType: hard -"postcss-discard-duplicates@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-duplicates@npm:5.1.0" +"postcss-discard-duplicates@npm:^6.0.3": + version: 6.0.3 + resolution: "postcss-discard-duplicates@npm:6.0.3" peerDependencies: - postcss: ^8.2.15 - checksum: 3d3a49536c56097c06b4f085412e0cda0854fac1c559563ccb922d9fab6305ff13058cd6fee422aa66c1d7e466add4e7672d7ae2ff551a4af6f1a8d2142d471f + postcss: ^8.4.31 + checksum: 24d2f00e54668f2837eb38a64b1751d7a4a73b2752f9749e61eb728f1fae837984bc2b339f7f5207aff5f66f72551253489114b59b9ba21782072677a81d7d1b languageName: node linkType: hard -"postcss-discard-empty@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-discard-empty@npm:5.1.1" +"postcss-discard-empty@npm:^6.0.3": + version: 6.0.3 + resolution: "postcss-discard-empty@npm:6.0.3" peerDependencies: - postcss: ^8.2.15 - checksum: 36c8b2197af836dbd93168c72cde4edc1f10fe00e564824119da076d3764909745bb60e4ada04052322e26872d1bce6a37c56815f1c48c813a21adca1a41fbdc + postcss: ^8.4.31 + checksum: 1af08bb29f18eda41edf3602b257d89a4cf0a16f79fc773cfebd4a37251f8dbd9b77ac18efe55d0677d000b43a8adf2ef9328d31961c810e9433a38494a1fa65 languageName: node linkType: hard -"postcss-discard-overridden@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-overridden@npm:5.1.0" +"postcss-discard-overridden@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-discard-overridden@npm:6.0.2" peerDependencies: - postcss: ^8.2.15 - checksum: 7d3fc0b0d90599606fc083327a7c24390f90270a94a0119af4b74815d518948581579281f63b9bfa62e2644edf59bc9e725dc04ea5ba213f697804f3fb4dd8dc + postcss: ^8.4.31 + checksum: fda70ef3cd4cb508369c5bbbae44d7760c40ec9f2e65df1cd1b6e0314317fb1d25ae7f64987ca84e66889c1e9d1862487a6ce391c159dfe04d536597bfc5030d languageName: node linkType: hard -"postcss-discard-unused@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-unused@npm:5.1.0" +"postcss-discard-unused@npm:^6.0.5": + version: 6.0.5 + resolution: "postcss-discard-unused@npm:6.0.5" dependencies: - postcss-selector-parser: ^6.0.5 + postcss-selector-parser: ^6.0.16 peerDependencies: - postcss: ^8.2.15 - checksum: eb7649eae1ef9987c397f4f533eb83f4245686317a5a0b468affd875d4d22778b62134e638198750efbaa41b7b7767995a91e5eb58d5fbbfe097506a3311102b + postcss: ^8.4.31 + checksum: fca82f17395a7fcc78eab4e03dfb05958beb240c10cacb3836b832c6ea99f5259980c70890a9b7d8b67adf8071b61f3fcf1b432c7a116397aaf67909366da5cc languageName: node linkType: hard @@ -19585,89 +21027,89 @@ __metadata: languageName: node linkType: hard -"postcss-merge-idents@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-merge-idents@npm:5.1.1" +"postcss-merge-idents@npm:^6.0.3": + version: 6.0.3 + resolution: "postcss-merge-idents@npm:6.0.3" dependencies: - cssnano-utils: ^3.1.0 + cssnano-utils: ^4.0.2 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 97552b831330a8055641d3aea7b9840c60922d22d7fefdaf109daa7dee543e48a93ea6189a5549798b3f29e66657bc5c520e76493a04f8f999b94a2c8fee6060 + postcss: ^8.4.31 + checksum: fdb51d971df33218bd5fdd9619e5a4d854e23affcea51f96bf4391260cb8d0bec937854582fa9a19bde1fa1b2a43fa5a2f179da23a3adeb8e8d292a4749a8ed7 languageName: node linkType: hard -"postcss-merge-longhand@npm:^5.1.7": - version: 5.1.7 - resolution: "postcss-merge-longhand@npm:5.1.7" +"postcss-merge-longhand@npm:^6.0.5": + version: 6.0.5 + resolution: "postcss-merge-longhand@npm:6.0.5" dependencies: postcss-value-parser: ^4.2.0 - stylehacks: ^5.1.1 + stylehacks: ^6.1.1 peerDependencies: - postcss: ^8.2.15 - checksum: 4d9f44b03f19522cc81ae4f5b1f2a9ef2db918dbd8b3042d4f1b2461b2230b8ec1269334db6a67a863ba68f64cabd712e6e45340ddb22a3fc03cd34df69d2bf0 + postcss: ^8.4.31 + checksum: 5a223a7f698c05ab42e9997108a7ff27ea1e0c33a11a353d65a04fc89c3b5b750b9e749550d76b6406329117a055adfc79dde7fee48dca5c8e167a2854ae3fea languageName: node linkType: hard -"postcss-merge-rules@npm:^5.1.4": - version: 5.1.4 - resolution: "postcss-merge-rules@npm:5.1.4" +"postcss-merge-rules@npm:^6.1.1": + version: 6.1.1 + resolution: "postcss-merge-rules@npm:6.1.1" dependencies: - browserslist: ^4.21.4 + browserslist: ^4.23.0 caniuse-api: ^3.0.0 - cssnano-utils: ^3.1.0 - postcss-selector-parser: ^6.0.5 + cssnano-utils: ^4.0.2 + postcss-selector-parser: ^6.0.16 peerDependencies: - postcss: ^8.2.15 - checksum: e7686cdda052071bf98810ad381e26145c43a2286f9540f04f97ef93101604b78d478dd555db91e5f73751bb353c283ba75c2fcb16a3751ac7d93dc6a0130c41 + postcss: ^8.4.31 + checksum: 6d8952dbb19b1e59bf5affe0871fa1be6515103466857cff5af879d6cf619659f8642ec7a931cabb7cdbd393d8c1e91748bf70bee70fa3edea010d4e25786d04 languageName: node linkType: hard -"postcss-minify-font-values@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-minify-font-values@npm:5.1.0" +"postcss-minify-font-values@npm:^6.1.0": + version: 6.1.0 + resolution: "postcss-minify-font-values@npm:6.1.0" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 7aa4f93a853b657f79a8b28d0e924cafce3720086d9da02ce04b8b2f8de42e18ce32c8f7f1078390fb5ec82468e2d8e771614387cea3563f05fd9fa1798e1c59 + postcss: ^8.4.31 + checksum: 0d6567170c22a7db42096b5eac298f041614890fbe01759a9fa5ccda432f2bb09efd399d92c11bf6675ae13ccd259db4602fad3c358317dee421df5f7ab0a003 languageName: node linkType: hard -"postcss-minify-gradients@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-minify-gradients@npm:5.1.1" +"postcss-minify-gradients@npm:^6.0.3": + version: 6.0.3 + resolution: "postcss-minify-gradients@npm:6.0.3" dependencies: - colord: ^2.9.1 - cssnano-utils: ^3.1.0 + colord: ^2.9.3 + cssnano-utils: ^4.0.2 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: bcb2802d7c8f0f76c7cff089884844f26c24b95f35c3ec951d7dec8c212495d1873d6ba62d6225ce264570e8e0668e271f9bc79bb6f5d2429c1f8933f4e3021d + postcss: ^8.4.31 + checksum: 7fcbcec94fe5455b89fe1b424a451198e60e0407c894bbacdc062d9fdef2f8571b483b5c3bb17f22d2f1249431251b2de22e1e4e8b0614d10624f8ee6e71afd2 languageName: node linkType: hard -"postcss-minify-params@npm:^5.1.4": - version: 5.1.4 - resolution: "postcss-minify-params@npm:5.1.4" +"postcss-minify-params@npm:^6.1.0": + version: 6.1.0 + resolution: "postcss-minify-params@npm:6.1.0" dependencies: - browserslist: ^4.21.4 - cssnano-utils: ^3.1.0 + browserslist: ^4.23.0 + cssnano-utils: ^4.0.2 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: debce6f0f7dd9af69b4bb9e467ea1ccccff2d849b6020461a2b9741c0c137340e6076c245dc2e83880180eb2e82936280fa31dfe8608e5a2e3618f3d864314c5 + postcss: ^8.4.31 + checksum: e5c38c3e5fb42e2ca165764f983716e57d854a63a477f7389ccc94cd2ab8123707006613bd7f29acc6eafd296fff513aa6d869c98ac52590f886d641cb21a59e languageName: node linkType: hard -"postcss-minify-selectors@npm:^5.2.1": - version: 5.2.1 - resolution: "postcss-minify-selectors@npm:5.2.1" +"postcss-minify-selectors@npm:^6.0.4": + version: 6.0.4 + resolution: "postcss-minify-selectors@npm:6.0.4" dependencies: - postcss-selector-parser: ^6.0.5 + postcss-selector-parser: ^6.0.16 peerDependencies: - postcss: ^8.2.15 - checksum: f3f4ec110f5f697cfc9dde3e491ff10aa07509bf33cc940aa539e4b5b643d1b9f8bb97f8bb83d05fc96f5eeb220500ebdeffbde513bd176c0671e21c2c96fab9 + postcss: ^8.4.31 + checksum: 695ec2e1e3a7812b0cabe1105d0ed491760be3d8e9433914fb5af1fc30a84e6dc24089cd31b7e300de620b8e7adf806526c1acf8dd14077a7d1d2820c60a327c languageName: node linkType: hard @@ -19726,152 +21168,151 @@ __metadata: languageName: node linkType: hard -"postcss-normalize-charset@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-charset@npm:5.1.0" +"postcss-normalize-charset@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-charset@npm:6.0.2" peerDependencies: - postcss: ^8.2.15 - checksum: aa481584d4db48e0dbf820f992fa235e6c41ff3d4701a62d349f33c1ad4c5c7dcdea3096db9ff2a5c9497e9bed2186d594ccdb1b42d57b30f58affba5829ad9c + postcss: ^8.4.31 + checksum: af32a3b4cf94163d728b8aa935b2494c9f69fbc96a33b35f67ae15dbdef7fcc8732569df97cbaaf20ca6c0103c39adad0cfce2ba07ffed283796787f6c36f410 languageName: node linkType: hard -"postcss-normalize-display-values@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-display-values@npm:5.1.0" +"postcss-normalize-display-values@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-display-values@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 70b164fda885c097c02c98914fba4cd19b2382ff5f85f77e5315d88a1d477b4803f0f271d95a38e044e2a6c3b781c5c9bfb83222fc577199f2aeb0b8f4254e2f + postcss: ^8.4.31 + checksum: 782761850c7e697fdb6c3ff53076de716a71b60f9e835efb2f7ef238de347c88b5d55f0d43cf5c608e1ee58de65360e3d9fccd5f20774bba08ded7c87d8a5651 languageName: node linkType: hard -"postcss-normalize-positions@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-positions@npm:5.1.1" +"postcss-normalize-positions@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-positions@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 910d58991fd38a7cf6ed6471e6fa4a96349690ad1a99a02e8cac46d76ba5045f2fca453088b68b05ff665afd96dc617c4674c68acaeabbe83f502e4963fb78b1 + postcss: ^8.4.31 + checksum: 9fdd42a47226bbda5f68774f3c4c3a90eb4fa708aef5a997c6a52fe6cac06585c9774038fe3bc1aa86a203c29223b8d8db6ebe7580c1aa293154f2b48db0b038 languageName: node linkType: hard -"postcss-normalize-repeat-style@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-repeat-style@npm:5.1.1" +"postcss-normalize-repeat-style@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-repeat-style@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 57c3817a2107ebb17e4ceee3831d230c72a3ccc7650f4d5f12aa54f6ea766777401f4f63b2615b721350b2e8c7ae0b0bbc3f1c5ad4e7fa737c9efb92cfa0cbb0 + postcss: ^8.4.31 + checksum: 9133ccbdf1286920c1cd0d01c1c5fa0bd3251b717f2f3e47d691dcc44978ac1dc419d20d9ae5428bd48ee542059e66b823ba699356f5968ccced5606c7c7ca34 languageName: node linkType: hard -"postcss-normalize-string@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-string@npm:5.1.0" +"postcss-normalize-string@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-string@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: a5e9979998f478d385ddff865bdd8a4870af69fa8c91c9398572a299ff39b39a6bda922a48fab0d2cddc639f30159c39baaed880ed7d13cd27cc64eaa9400b3b + postcss: ^8.4.31 + checksum: fecc2d52c4029b24fecf2ca2fb45df5dbdf9f35012194ad4ea80bc7be3252cdcb21a0976400902320595aa6178f2cc625cc804c6b6740aef6efa42105973a205 languageName: node linkType: hard -"postcss-normalize-timing-functions@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-timing-functions@npm:5.1.0" +"postcss-normalize-timing-functions@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-timing-functions@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: afb34d8e313004ae8cd92910bf1a6eb9885f29ae803cd9032b6dfe7b67a9ad93f800976f10e55170b2b08fe9484825e9272629971186812c2764c73843268237 + postcss: ^8.4.31 + checksum: a22af0b3374704e59ae70bbbcc66b7029137e284f04e30a2ad548818d1540d6c1ed748dd8f689b9b6df5c1064085a00ad07b6f7e25ffaad49d4e661b616cdeae languageName: node linkType: hard -"postcss-normalize-unicode@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-unicode@npm:5.1.1" +"postcss-normalize-unicode@npm:^6.1.0": + version: 6.1.0 + resolution: "postcss-normalize-unicode@npm:6.1.0" dependencies: - browserslist: ^4.21.4 + browserslist: ^4.23.0 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: c102888d488d05c53ab10ffcd4e0efb892ef0cc2f9b0abe9c9b175a2d7a9c226981ca6806ed9e5c1b82a8190f2b3a8342a6de800f019b417130661b0787ff6d7 + postcss: ^8.4.31 + checksum: ff5746670d94dd97b49a0955c3c71ff516fb4f54bbae257f877d179bacc44a62e50a0fd6e7ddf959f2ca35c335de4266b0c275d880bb57ad7827189339ab1582 languageName: node linkType: hard -"postcss-normalize-url@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-url@npm:5.1.0" +"postcss-normalize-url@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-url@npm:6.0.2" dependencies: - normalize-url: ^6.0.1 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: a016cefd1ef80f74ef9dbed50593d3b533101e93aaadfc292896fddd8d6c3eb732a9fc5cb2e0d27f79c1f60f0fdfc40b045a494b514451e9610c6acf9392eb98 + postcss: ^8.4.31 + checksum: 4718f1c0657788d2c560b340ee8e0a4eb3eb053eba6fbbf489e9a6e739b4c5f9ce1957f54bd03497c50a1f39962bf6ab9ff6ba4976b69dd160f6afd1670d69b7 languageName: node linkType: hard -"postcss-normalize-whitespace@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-whitespace@npm:5.1.1" +"postcss-normalize-whitespace@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-normalize-whitespace@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: d7b53dd90fe369bfb9838a40096db904a41f50dadfd04247ec07d7ab5588c3d4e70d1c7f930523bd061cb74e6683cef45c6e6c4eb57ea174ee3fc99f3de222d1 + postcss: ^8.4.31 + checksum: d5275a88e29a894aeb83a2a833e816d2456dbf3f39961628df596ce205dcc4895186a023812ff691945e0804241ccc53e520d16591b5812288474b474bbaf652 languageName: node linkType: hard -"postcss-ordered-values@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-ordered-values@npm:5.1.3" +"postcss-ordered-values@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-ordered-values@npm:6.0.2" dependencies: - cssnano-utils: ^3.1.0 + cssnano-utils: ^4.0.2 postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 55abfbd2c7267eefed62a881ed0b5c0c98409c50a589526a3ebb9f8d879979203e523b8888fa84732bdd1ac887f721287a037002fa70c27c8d33f1bcbae9d9c6 + postcss: ^8.4.31 + checksum: aece23a289228aa804217a85f8da198d22b9123f02ca1310b81834af380d6fbe115e4300683599b4a2ab7f1c6a1dbd6789724c47c38e2b0a3774f2ea4b4f0963 languageName: node linkType: hard -"postcss-reduce-idents@npm:^5.2.0": - version: 5.2.0 - resolution: "postcss-reduce-idents@npm:5.2.0" +"postcss-reduce-idents@npm:^6.0.3": + version: 6.0.3 + resolution: "postcss-reduce-idents@npm:6.0.3" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: f7a6bc0caa531e7983c98a79d796e078ff8d02df1bb38357a5d7f11ddb5842d6777ab090fd811e889ab1a5e92ba2644c9a9e5e353f7c9f7ce85dbf1e07001c29 + postcss: ^8.4.31 + checksum: d9f9209e52ebb3d1d7feefc0be24fc74792e064e0fdec99554f050c6b882c61073d5d40986c545061b30e5ead881615e92c965dc765d8d83b2dec10d6a664e1f languageName: node linkType: hard -"postcss-reduce-initial@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-reduce-initial@npm:5.1.2" +"postcss-reduce-initial@npm:^6.1.0": + version: 6.1.0 + resolution: "postcss-reduce-initial@npm:6.1.0" dependencies: - browserslist: ^4.21.4 + browserslist: ^4.23.0 caniuse-api: ^3.0.0 peerDependencies: - postcss: ^8.2.15 - checksum: ddb2ce61c8d0997184f08200eafdf32b3c67e88228fee960f5e2010c32da0c1d8ea07712585bf2b3aaa15f583066401d45db2c1131527c5116ca6794ebebd865 + postcss: ^8.4.31 + checksum: a8f28cf51ce9a1b9423cce1a01c1d7cbee90125930ec36435a0073e73aef402d90affe2fd3600c964b679cf738869fda447b95a9acce74414e9d67d5c6ba8646 languageName: node linkType: hard -"postcss-reduce-transforms@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-reduce-transforms@npm:5.1.0" +"postcss-reduce-transforms@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-reduce-transforms@npm:6.0.2" dependencies: postcss-value-parser: ^4.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: caefaeb78652ad8701b94e91500e38551255e4899fa298a7357519a36cbeebae088eab4535e00f17675a1230f448c4a7077045639d496da4614a46bc41df4add + postcss: ^8.4.31 + checksum: 755ef27b3d083f586ac831f0c611a66e76f504d27e2100dc7674f6b86afad597901b4520cb889fe58ca70e852aa7fd0c0acb69a63d39dfe6a95860b472394e7c languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.11, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": +"postcss-selector-parser@npm:^6.0.11, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4": version: 6.0.13 resolution: "postcss-selector-parser@npm:6.0.13" dependencies: @@ -19881,37 +21322,47 @@ __metadata: languageName: node linkType: hard -"postcss-sort-media-queries@npm:^4.4.1": - version: 4.4.1 - resolution: "postcss-sort-media-queries@npm:4.4.1" +"postcss-selector-parser@npm:^6.0.16": + version: 6.1.2 + resolution: "postcss-selector-parser@npm:6.1.2" + dependencies: + cssesc: ^3.0.0 + util-deprecate: ^1.0.2 + checksum: 523196a6bd8cf660bdf537ad95abd79e546d54180f9afb165a4ab3e651ac705d0f8b8ce6b3164fb9e3279ce482c5f751a69eb2d3a1e8eb0fd5e82294fb3ef13e + languageName: node + linkType: hard + +"postcss-sort-media-queries@npm:^5.2.0": + version: 5.2.0 + resolution: "postcss-sort-media-queries@npm:5.2.0" dependencies: - sort-css-media-queries: 2.1.0 + sort-css-media-queries: 2.2.0 peerDependencies: - postcss: ^8.4.16 - checksum: 8bbc604daee29dc3e1f5090df972599c3c0eb08b37650e16c134a040cc1357484a48bbe03dac2977d616be1d490cde2934226fa1e6f7e52f4f5e7bf8f57e98d6 + postcss: ^8.4.23 + checksum: 5e7f265a21999bdbf6592f7e15b3e889dd93bc9b15fe048958e8f85603ac276e69ef50305e8b41b10f4eea68917c9c25c7956fa9c3ba7f8577c1149416d35c4e languageName: node linkType: hard -"postcss-svgo@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-svgo@npm:5.1.0" +"postcss-svgo@npm:^6.0.3": + version: 6.0.3 + resolution: "postcss-svgo@npm:6.0.3" dependencies: postcss-value-parser: ^4.2.0 - svgo: ^2.7.0 + svgo: ^3.2.0 peerDependencies: - postcss: ^8.2.15 - checksum: 309634a587e38fef244648bc9cd1817e12144868d24f1173d87b1edc14a4a7fca614962b2cb9d93f4801e11bd8d676083986ad40ebab4438cb84731ce1571994 + postcss: ^8.4.31 + checksum: 994b15a88cbb411f32cfa98957faa5623c76f2d75fede51f5f47238f06b367ebe59c204fecbdaf21ccb9e727239a4b290087e04c502392658a0c881ddfbd61f2 languageName: node linkType: hard -"postcss-unique-selectors@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-unique-selectors@npm:5.1.1" +"postcss-unique-selectors@npm:^6.0.4": + version: 6.0.4 + resolution: "postcss-unique-selectors@npm:6.0.4" dependencies: - postcss-selector-parser: ^6.0.5 + postcss-selector-parser: ^6.0.16 peerDependencies: - postcss: ^8.2.15 - checksum: 484f6409346d6244c134c5cdcd62f4f2751b269742f95222f13d8bac5fb224471ffe04e28a354670cbe0bdc2707778ead034fc1b801b473ffcbea5436807de30 + postcss: ^8.4.31 + checksum: bfb99d8a7c675c93f2e65c9d9d563477bfd46fdce9e2727d42d57982b31ccbaaf944e8034bfbefe48b3119e77fba7eb1b181c19b91cb3a5448058fa66a7c9ae9 languageName: node linkType: hard @@ -19922,12 +21373,12 @@ __metadata: languageName: node linkType: hard -"postcss-zindex@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-zindex@npm:5.1.0" +"postcss-zindex@npm:^6.0.2": + version: 6.0.2 + resolution: "postcss-zindex@npm:6.0.2" peerDependencies: - postcss: ^8.2.15 - checksum: f739d3c0dec3875c770d6a101bc6ac1ccf545b0121e75b7fade911ad6ce454a2af87e6c3587c80a76a00f217e1761778f2083c2807eb78c17bfc53624b625ded + postcss: ^8.4.31 + checksum: 346291703e1f2dd954144d2bb251713dad6ae10e8aa05c3873dee2fc7a30d72da7866bec060abd932b9b839bc1495f73d813dde5312750a69d7ad33c435ce7ea languageName: node linkType: hard @@ -19964,7 +21415,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.17, postcss@npm:^8.4.21, postcss@npm:^8.4.23": +"postcss@npm:^8.4.21, postcss@npm:^8.4.23": version: 8.4.30 resolution: "postcss@npm:8.4.30" dependencies: @@ -19975,6 +21426,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.24, postcss@npm:^8.4.38": + version: 8.4.47 + resolution: "postcss@npm:8.4.47" + dependencies: + nanoid: ^3.3.7 + picocolors: ^1.1.0 + source-map-js: ^1.2.1 + checksum: 929f68b5081b7202709456532cee2a145c1843d391508c5a09de2517e8c4791638f71dd63b1898dba6712f8839d7a6da046c72a5e44c162e908f5911f57b5f44 + languageName: node + linkType: hard + "preact@npm:^10.10.0": version: 10.17.1 resolution: "preact@npm:10.17.1" @@ -20500,6 +21962,17 @@ __metadata: languageName: node linkType: hard +"react-loadable@npm:@docusaurus/react-loadable@6.0.0": + version: 6.0.0 + resolution: "@docusaurus/react-loadable@npm:6.0.0" + dependencies: + "@types/react": "*" + peerDependencies: + react: "*" + checksum: 6b145d1a8d2e7342ceef58dd154aa990322f72a6cb98955ab8ce8e3f0dc7f0c5d00f9c2e4efa8d356c5effed72a130b5588857332b11faba0398f5429b484b04 + languageName: node + linkType: hard + "react-markdown@npm:^8.0.7": version: 8.0.7 resolution: "react-markdown@npm:8.0.7" @@ -20785,6 +22258,15 @@ __metadata: languageName: node linkType: hard +"regenerate-unicode-properties@npm:^10.2.0": + version: 10.2.0 + resolution: "regenerate-unicode-properties@npm:10.2.0" + dependencies: + regenerate: ^1.4.2 + checksum: 5510785eeaf56bbfdf4e663d6753f125c08d2a372d4107bc1b756b7bf142e2ed80c2733a8b54e68fb309ba37690e66a0362699b0e21d5c1f0255dea1b00e6460 + languageName: node + linkType: hard + "regenerate@npm:^1.4.2": version: 1.4.2 resolution: "regenerate@npm:1.4.2" @@ -20833,6 +22315,20 @@ __metadata: languageName: node linkType: hard +"regexpu-core@npm:^6.1.1": + version: 6.1.1 + resolution: "regexpu-core@npm:6.1.1" + dependencies: + regenerate: ^1.4.2 + regenerate-unicode-properties: ^10.2.0 + regjsgen: ^0.8.0 + regjsparser: ^0.11.0 + unicode-match-property-ecmascript: ^2.0.0 + unicode-match-property-value-ecmascript: ^2.1.0 + checksum: 07d49697e20f9b65977535abba4858b7f5171c13f7c366be53ec1886d3d5f69f1b98cc6a6e63cf271adda077c3366a4c851c7473c28bbd69cf5a6b6b008efc3e + languageName: node + linkType: hard + "registry-auth-token@npm:^5.0.1": version: 5.0.2 resolution: "registry-auth-token@npm:5.0.2" @@ -20851,6 +22347,24 @@ __metadata: languageName: node linkType: hard +"regjsgen@npm:^0.8.0": + version: 0.8.0 + resolution: "regjsgen@npm:0.8.0" + checksum: 44f526c4fdbf0b29286101a282189e4dbb303f4013cf3fea058668d96d113b9180d3d03d1e13f6d4cbde38b7728bf951aecd9dc199938c080093a9a6f0d7a6bd + languageName: node + linkType: hard + +"regjsparser@npm:^0.11.0": + version: 0.11.1 + resolution: "regjsparser@npm:0.11.1" + dependencies: + jsesc: ~3.0.2 + bin: + regjsparser: bin/parser + checksum: be4b40981a596b31eacd84ee12cfa474f1d33a6c05f7e995e8ec9d5ad8f1c3fbf7a5b690a05c443e1f312a1c0b16d4ea0b3384596a61d4fda97aa322879bb3cd + languageName: node + linkType: hard + "regjsparser@npm:^0.9.1": version: 0.9.1 resolution: "regjsparser@npm:0.9.1" @@ -21466,7 +22980,7 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^4.0.0": +"schema-utils@npm:^4.0.0, schema-utils@npm:^4.0.1": version: 4.2.0 resolution: "schema-utils@npm:4.2.0" dependencies: @@ -21791,6 +23305,16 @@ __metadata: languageName: node linkType: hard +"snake-case@npm:^3.0.4": + version: 3.0.4 + resolution: "snake-case@npm:3.0.4" + dependencies: + dot-case: ^3.0.4 + tslib: ^2.0.3 + checksum: ab19a913969f58f4474fe9f6e8a026c8a2142a01f40b52b79368068343177f818cdfef0b0c6b9558f298782441d5ca8ed5932eb57822439fad791d866e62cecd + languageName: node + linkType: hard + "sockjs@npm:^0.3.24": version: 0.3.24 resolution: "sockjs@npm:0.3.24" @@ -21823,10 +23347,17 @@ __metadata: languageName: node linkType: hard -"sort-css-media-queries@npm:2.1.0": - version: 2.1.0 - resolution: "sort-css-media-queries@npm:2.1.0" - checksum: 6b39dd2503d8279688fee837c63bdf3b49eea14d10d5ae09d9e99e4a0b3da1b702c3931e8f793b702b9ea8929a9389ba8d6345b58b5d1f0ec3e84920685a724a +"sort-css-media-queries@npm:2.2.0": + version: 2.2.0 + resolution: "sort-css-media-queries@npm:2.2.0" + checksum: 7478308c7ca93409f959ab993d41de2f0515ed5f51b671908ecb777aae0d63be97b454d59d80e14ee4874884618a2e825d4ae7ccb225779276904dd175f4e766 + languageName: node + linkType: hard + +"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf languageName: node linkType: hard @@ -22167,15 +23698,15 @@ __metadata: languageName: node linkType: hard -"stylehacks@npm:^5.1.1": - version: 5.1.1 - resolution: "stylehacks@npm:5.1.1" +"stylehacks@npm:^6.1.1": + version: 6.1.1 + resolution: "stylehacks@npm:6.1.1" dependencies: - browserslist: ^4.21.4 - postcss-selector-parser: ^6.0.4 + browserslist: ^4.23.0 + postcss-selector-parser: ^6.0.16 peerDependencies: - postcss: ^8.2.15 - checksum: 402c2b545eeda0e972f125779adddc88df11bcf3a89de60c92026bd98cd49c1abffcd5bfe41766398835e0a1c7e5e72bdb6905809ecbb60716cd8d3a32ea7cd3 + postcss: ^8.4.31 + checksum: 2dd2bccfd8311ff71492e63a7b8b86c3d7b1fff55d4ba5a2357aff97743e633d351cdc2f5ae3c0057637d00dab4ef5fc5b218a1b370e4585a41df22b5a5128be languageName: node linkType: hard @@ -22245,7 +23776,7 @@ __metadata: languageName: node linkType: hard -"svgo@npm:^2.7.0, svgo@npm:^2.8.0": +"svgo@npm:^2.8.0": version: 2.8.0 resolution: "svgo@npm:2.8.0" dependencies: @@ -22262,6 +23793,23 @@ __metadata: languageName: node linkType: hard +"svgo@npm:^3.0.2, svgo@npm:^3.2.0": + version: 3.3.2 + resolution: "svgo@npm:3.3.2" + dependencies: + "@trysound/sax": 0.2.0 + commander: ^7.2.0 + css-select: ^5.1.0 + css-tree: ^2.3.1 + css-what: ^6.1.0 + csso: ^5.0.5 + picocolors: ^1.0.0 + bin: + svgo: ./bin/svgo + checksum: a6badbd3d1d6dbb177f872787699ab34320b990d12e20798ecae915f0008796a0f3c69164f1485c9def399e0ce0a5683eb4a8045e51a5e1c364bb13a0d9f79e1 + languageName: node + linkType: hard + "swc-loader@npm:^0.2.3": version: 0.2.3 resolution: "swc-loader@npm:0.2.3" @@ -22689,7 +24237,7 @@ __metadata: version: 0.0.0-use.local resolution: "tsconfig@workspace:packages/tsconfig" dependencies: - "@docusaurus/tsconfig": 3.1.1 + "@docusaurus/tsconfig": ^3.5.2 languageName: unknown linkType: soft @@ -23411,6 +24959,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.1.1": + version: 1.1.1 + resolution: "update-browserslist-db@npm:1.1.1" + dependencies: + escalade: ^3.2.0 + picocolors: ^1.1.0 + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 536a2979adda2b4be81b07e311bd2f3ad5e978690987956bc5f514130ad50cac87cd22c710b686d79731e00fbee8ef43efe5fcd72baa241045209195d43dcc80 + languageName: node + linkType: hard + "update-notifier@npm:^6.0.2": version: 6.0.2 resolution: "update-notifier@npm:6.0.2" @@ -23867,7 +25429,7 @@ __metadata: languageName: node linkType: hard -"webpack-sources@npm:^3.2.2, webpack-sources@npm:^3.2.3": +"webpack-sources@npm:^3.2.3": version: 3.2.3 resolution: "webpack-sources@npm:3.2.3" checksum: 2ef63d77c4fad39de4a6db17323d75eb92897b32674e97d76f0a1e87c003882fc038571266ad0ef581ac734cbe20952912aaa26155f1905e96ce251adbb1eb4e From b2228244c68119ab541a8c5a90effc4a82971c14 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 16:46:51 +0300 Subject: [PATCH 07/10] change build script --- www/apps/docs/package.json | 1 + www/apps/docs/vercel.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/apps/docs/package.json b/www/apps/docs/package.json index c1df6fe0ec84c..9895e9f26630c 100644 --- a/www/apps/docs/package.json +++ b/www/apps/docs/package.json @@ -7,6 +7,7 @@ "dev": "docusaurus clear && docusaurus start", "dev:monorepo": "yarn dev --port 3001", "build": "docusaurus build", + "build:prod": "docusaurus build --out-dir build/v1", "swizzle": "docusaurus swizzle", "deploy": "docusaurus deploy", "clear": "docusaurus clear", diff --git a/www/apps/docs/vercel.json b/www/apps/docs/vercel.json index d48b3ec602a21..d79db15a93845 100644 --- a/www/apps/docs/vercel.json +++ b/www/apps/docs/vercel.json @@ -500,7 +500,7 @@ ], "framework": "docusaurus-2", "installCommand": "yarn install", - "buildCommand": "turbo run build", + "buildCommand": "turbo run build:prod", "outputDirectory": "build", "ignoreCommand": "bash ../../ignore-build-script.sh", "devCommand": "yarn dev" From d2af6d45f1beee054eb06cc2b03149c74ca24882 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 16:51:22 +0300 Subject: [PATCH 08/10] added build:prod turbo command --- www/package.json | 1 + www/turbo.json | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/www/package.json b/www/package.json index 02eb29737f5d2..a75f5221af784 100644 --- a/www/package.json +++ b/www/package.json @@ -9,6 +9,7 @@ }, "scripts": { "build": "turbo run build", + "build:prod": "turbo run build", "build:docs": "turbo run build --filter=docs", "start": "turbo run start:monorepo", "dev": "turbo run dev:monorepo", diff --git a/www/turbo.json b/www/turbo.json index a0aea41d3a8a6..e4b5b0a0e84bd 100644 --- a/www/turbo.json +++ b/www/turbo.json @@ -13,6 +13,18 @@ "dist/**" ] }, + "build:prod": { + "dependsOn": [ + "^build:prod" + ], + "outputs": [ + ".next/**", + "!.next/cache/**", + ".docusaurus/**", + "build/**", + "dist/**" + ] + }, "start:monorepo": { "dependsOn": [ "build#docs-ui", From 3c0ce0db4b21b86e1706dc42fbd9ba0a44356a6d Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Wed, 23 Oct 2024 17:06:14 +0300 Subject: [PATCH 09/10] fix turbo script --- www/turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/www/turbo.json b/www/turbo.json index e4b5b0a0e84bd..0a7c515f7ddf9 100644 --- a/www/turbo.json +++ b/www/turbo.json @@ -15,6 +15,7 @@ }, "build:prod": { "dependsOn": [ + "^build", "^build:prod" ], "outputs": [ From eed92ae34259c4af2913d38b96fe6801ec80a39b Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 24 Oct 2024 10:03:06 +0300 Subject: [PATCH 10/10] remove redirect --- www/apps/api-reference/vercel.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/www/apps/api-reference/vercel.json b/www/apps/api-reference/vercel.json index 56375da3da5f3..ae544a0a9c53f 100644 --- a/www/apps/api-reference/vercel.json +++ b/www/apps/api-reference/vercel.json @@ -6,12 +6,5 @@ "framework": "nextjs", "installCommand": "yarn install", "buildCommand": "turbo run build", - "outputDirectory": ".next", - "redirects": [ - { - "source": "/", - "destination": "/v2", - "permanent": false - } - ] + "outputDirectory": ".next" } \ No newline at end of file