From 3c6fe30ee7f4a0c75e83dc3736967e65b92e6f65 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 3 Nov 2022 10:08:09 +0200 Subject: [PATCH] chore(docs): Generated JS Client Reference (automated) (#2526) Co-authored-by: olivermrbl --- .../js-client/classes/AddressesResource.md | 6 +- .../references/js-client/classes/Admin.md | 60 ++--- .../js-client/classes/AdminAuthResource.md | 6 +- .../classes/AdminBatchJobsResource.md | 10 +- .../classes/AdminCollectionsResource.md | 14 +- .../classes/AdminCurrenciesResource.md | 4 +- .../classes/AdminCustomerGroupsResource.md | 16 +- .../classes/AdminCustomersResource.md | 8 +- .../classes/AdminDiscountsResource.md | 83 +++++-- .../classes/AdminDraftOrdersResource.md | 20 +- .../classes/AdminGiftCardsResource.md | 10 +- .../js-client/classes/AdminInvitesResource.md | 10 +- .../js-client/classes/AdminNotesResource.md | 10 +- .../classes/AdminNotificationsResource.md | 4 +- .../classes/AdminOrderEditsResource.md | 46 +++- .../js-client/classes/AdminOrdersResource.md | 50 ++-- .../classes/AdminPriceListResource.md | 20 +- .../classes/AdminProductTagsResource.md | 2 +- .../classes/AdminProductTypesResource.md | 2 +- .../classes/AdminProductsResource.md | 28 +-- .../js-client/classes/AdminRegionsResource.md | 24 +- .../classes/AdminReturnReasonsResource.md | 10 +- .../js-client/classes/AdminReturnsResource.md | 6 +- .../classes/AdminSalesChannelsResource.md | 14 +- .../classes/AdminShippingOptionsResource.md | 10 +- .../classes/AdminShippingProfilesResource.md | 10 +- .../js-client/classes/AdminStoresResource.md | 12 +- .../js-client/classes/AdminSwapsResource.md | 4 +- .../classes/AdminTaxRatesResource.md | 22 +- .../js-client/classes/AdminUploadsResource.md | 28 ++- .../js-client/classes/AdminUsersResource.md | 14 +- .../classes/AdminVariantsResource.md | 2 +- .../js-client/classes/AuthResource.md | 8 +- .../js-client/classes/CartsResource.md | 24 +- .../js-client/classes/CollectionsResource.md | 4 +- .../js-client/classes/CustomerResource.md | 16 +- .../js-client/classes/GiftCardsResource.md | 2 +- .../js-client/classes/LineItemsResource.md | 6 +- .../js-client/classes/OrderEditsResource.md | 6 +- .../js-client/classes/OrdersResource.md | 6 +- .../classes/PaymentMethodsResource.md | 2 +- .../classes/ProductVariantsResource.md | 4 +- .../js-client/classes/ProductsResource.md | 8 +- .../js-client/classes/RegionsResource.md | 4 +- .../classes/ReturnReasonsResource.md | 4 +- .../js-client/classes/ReturnsResource.md | 2 +- .../classes/ShippingOptionsResource.md | 4 +- .../js-client/classes/SwapsResource.md | 4 +- ...nternal-13.GetOrderEditsOrderEditParams.md | 37 +++ .../internal-13.GetOrderEditsParams.md | 85 +++++++ ...-16.AdminGetProductTagsPaginationParams.md | 4 +- .../internal-16.AdminGetProductTagsParams.md | 26 +- ...17.AdminGetProductTypesPaginationParams.md | 4 +- .../internal-17.AdminGetProductTypesParams.md | 26 +- .../internal-18.AdminGetProductsParams.md | 58 +++-- .../internal-18.FilterableProductProps.md | 44 ++-- .../internal-18.ProductSalesChannelReq.md | 2 +- .../classes/internal-18.ProductTagReq.md | 4 +- .../classes/internal-18.ProductTypeReq.md | 4 +- ...l-3.AdminGetCollectionsPaginationParams.md | 4 +- .../internal-3.AdminGetCollectionsParams.md | 26 +- .../internal-30.AdminGetVariantsParams.md | 118 ++++++++- .../internal-30.AdminPriceSelectionParams.md | 63 +++++ ...md => internal-30.PriceSelectionParams.md} | 4 +- .../internal-33.StoreGetCollectionsParams.md | 18 +- .../internal-40.StoreGetVariantsParams.md | 22 +- ...nal-41.StoreGetProductsPaginationParams.md | 16 +- .../internal-41.StoreGetProductsParams.md | 36 +-- ...internal-5.AdminGetCustomerGroupsParams.md | 22 +- .../internal-5.CustomerGroupsBatchCustomer.md | 2 +- ...internal-5.FilterableCustomerGroupProps.md | 10 + .../classes/internal-5.FindParams.md | 10 + .../internal-7.AdminCreateCondition.md | 12 +- ...untsDiscountConditionsConditionBatchReq.md | 13 + ...countsDiscountConditionsConditionParams.md | 18 +- ...l-7.AdminGetDiscountsDiscountRuleParams.md | 4 +- .../internal-7.AdminGetDiscountsParams.md | 50 +++- ...-7.AdminPostDiscountsDiscountConditions.md | 12 +- ...ostDiscountsDiscountConditionsCondition.md | 10 +- ...sDiscountConditionsConditionBatchParams.md | 37 +++ ...untsDiscountConditionsConditionBatchReq.md | 13 + ...countsDiscountConditionsConditionParams.md | 18 +- ...inPostDiscountsDiscountConditionsParams.md | 18 +- ...minPostDiscountsDiscountDynamicCodesReq.md | 6 +- ...nternal-7.AdminPostDiscountsDiscountReq.md | 18 +- ...ternal-7.AdminPostDiscountsDiscountRule.md | 10 +- .../internal-7.AdminPostDiscountsReq.md | 20 +- .../internal-7.AdminUpdateDiscountRule.md | 10 +- .../internal-7.AdminUpsertCondition.md | 14 +- .../internal-7.AdminUpsertConditionsReq.md | 10 +- ...nal-8.AdminPostDraftOrdersDraftOrderReq.md | 22 +- .../internal-8.AdminPostDraftOrdersReq.md | 113 +++++++++ .../classes/internal-8.Discount-1.md | 13 + .../js-client/classes/internal-8.Discount.md | 2 +- .../js-client/classes/internal-8.Item.md | 53 ++++ .../classes/internal-8.ShippingMethod.md | 33 +++ .../js-client/classes/internal.Address.md | 30 +-- .../js-client/classes/internal.Cart.md | 38 ++- .../js-client/classes/internal.Client.md | 18 +- .../js-client/classes/internal.Discount.md | 4 +- .../js-client/classes/internal.OrderEdit.md | 50 ++-- .../classes/internal.PaymentCollection.md | 231 ++++++++++++++++++ .../classes/internal.PaymentSession.md | 22 +- .../js-client/classes/internal.Refund.md | 36 ++- .../classes/internal.ShippingMethod.md | 32 ++- .../classes/internal.SoftDeletableEntity.md | 2 + ....StorePostCustomersCustomerAddressesReq.md | 2 +- .../enums/internal.OrderEditStatus.md | 10 +- .../enums/internal.PaymentCollectionStatus.md | 107 ++++++++ .../js-client/interfaces/internal.Config.md | 6 +- .../interfaces/internal.HTTPResponse.md | 10 +- .../interfaces/internal.RequestOptions.md | 4 +- .../js-client/modules/internal-10.md | 4 +- .../js-client/modules/internal-13.md | 24 +- .../js-client/modules/internal-15.md | 6 +- .../js-client/modules/internal-22.md | 2 +- .../js-client/modules/internal-29.md | 14 +- .../js-client/modules/internal-30.md | 6 +- .../js-client/modules/internal-40.md | 1 - ...usa_packages_medusa_dist_types_global_.md} | 6 +- .../js-client/modules/internal-7.md | 17 ++ .../js-client/modules/internal-8.md | 4 + .../references/js-client/modules/internal.md | 18 +- 123 files changed, 1946 insertions(+), 601 deletions(-) create mode 100644 docs/content/references/js-client/classes/internal-13.GetOrderEditsOrderEditParams.md create mode 100644 docs/content/references/js-client/classes/internal-13.GetOrderEditsParams.md create mode 100644 docs/content/references/js-client/classes/internal-30.AdminPriceSelectionParams.md rename docs/content/references/js-client/classes/{internal-40.PriceSelectionParams.md => internal-30.PriceSelectionParams.md} (81%) create mode 100644 docs/content/references/js-client/classes/internal-7.AdminDeleteDiscountsDiscountConditionsConditionBatchReq.md create mode 100644 docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md create mode 100644 docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchReq.md create mode 100644 docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersReq.md create mode 100644 docs/content/references/js-client/classes/internal-8.Discount-1.md create mode 100644 docs/content/references/js-client/classes/internal-8.Item.md create mode 100644 docs/content/references/js-client/classes/internal-8.ShippingMethod.md create mode 100644 docs/content/references/js-client/classes/internal.PaymentCollection.md create mode 100644 docs/content/references/js-client/enums/internal.PaymentCollectionStatus.md rename docs/content/references/js-client/modules/{internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md => internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md} (88%) diff --git a/docs/content/references/js-client/classes/AddressesResource.md b/docs/content/references/js-client/classes/AddressesResource.md index ce0db48ace..d8aa512aa7 100644 --- a/docs/content/references/js-client/classes/AddressesResource.md +++ b/docs/content/references/js-client/classes/AddressesResource.md @@ -27,7 +27,7 @@ Adds an address to a customers saved addresses #### Defined in -[medusa-js/src/resources/addresses.ts:16](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/addresses.ts#L16) +[medusa-js/src/resources/addresses.ts:16](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/addresses.ts#L16) ___ @@ -50,7 +50,7 @@ Deletes an address of a customer #### Defined in -[medusa-js/src/resources/addresses.ts:30](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/addresses.ts#L30) +[medusa-js/src/resources/addresses.ts:30](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/addresses.ts#L30) ___ @@ -74,4 +74,4 @@ Update an address of a customer #### Defined in -[medusa-js/src/resources/addresses.ts:45](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/addresses.ts#L45) +[medusa-js/src/resources/addresses.ts:45](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/addresses.ts#L45) diff --git a/docs/content/references/js-client/classes/Admin.md b/docs/content/references/js-client/classes/Admin.md index 83e1d58bb4..497f158d54 100644 --- a/docs/content/references/js-client/classes/Admin.md +++ b/docs/content/references/js-client/classes/Admin.md @@ -14,7 +14,7 @@ #### Defined in -[medusa-js/src/resources/admin/index.ts:34](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L34) +[medusa-js/src/resources/admin/index.ts:34](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L34) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:35](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L35) +[medusa-js/src/resources/admin/index.ts:35](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L35) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:40](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L40) +[medusa-js/src/resources/admin/index.ts:40](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L40) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L39) +[medusa-js/src/resources/admin/index.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L39) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:37](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L37) +[medusa-js/src/resources/admin/index.ts:37](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L37) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:36](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L36) +[medusa-js/src/resources/admin/index.ts:36](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L36) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:38](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L38) +[medusa-js/src/resources/admin/index.ts:38](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L38) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:41](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L41) +[medusa-js/src/resources/admin/index.ts:41](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L41) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:42](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L42) +[medusa-js/src/resources/admin/index.ts:42](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L42) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:43](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L43) +[medusa-js/src/resources/admin/index.ts:43](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L43) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:44](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L44) +[medusa-js/src/resources/admin/index.ts:44](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L44) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:61](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L61) +[medusa-js/src/resources/admin/index.ts:61](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L61) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:52](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L52) +[medusa-js/src/resources/admin/index.ts:52](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L52) ___ @@ -144,7 +144,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:51](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L51) +[medusa-js/src/resources/admin/index.ts:51](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L51) ___ @@ -154,7 +154,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:45](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L45) +[medusa-js/src/resources/admin/index.ts:45](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L45) ___ @@ -164,7 +164,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:47](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L47) +[medusa-js/src/resources/admin/index.ts:47](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L47) ___ @@ -174,7 +174,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:48](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L48) +[medusa-js/src/resources/admin/index.ts:48](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L48) ___ @@ -184,7 +184,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:46](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L46) +[medusa-js/src/resources/admin/index.ts:46](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L46) ___ @@ -194,7 +194,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:60](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L60) +[medusa-js/src/resources/admin/index.ts:60](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L60) ___ @@ -204,7 +204,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:53](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L53) +[medusa-js/src/resources/admin/index.ts:53](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L53) ___ @@ -214,7 +214,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:50](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L50) +[medusa-js/src/resources/admin/index.ts:50](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L50) ___ @@ -224,7 +224,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:55](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L55) +[medusa-js/src/resources/admin/index.ts:55](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L55) ___ @@ -234,7 +234,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:59](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L59) +[medusa-js/src/resources/admin/index.ts:59](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L59) ___ @@ -244,7 +244,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:57](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L57) +[medusa-js/src/resources/admin/index.ts:57](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L57) ___ @@ -254,7 +254,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:58](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L58) +[medusa-js/src/resources/admin/index.ts:58](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L58) ___ @@ -264,7 +264,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:56](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L56) +[medusa-js/src/resources/admin/index.ts:56](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L56) ___ @@ -274,7 +274,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:62](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L62) +[medusa-js/src/resources/admin/index.ts:62](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L62) ___ @@ -284,7 +284,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:63](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L63) +[medusa-js/src/resources/admin/index.ts:63](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L63) ___ @@ -294,7 +294,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:49](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L49) +[medusa-js/src/resources/admin/index.ts:49](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L49) ___ @@ -304,4 +304,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/index.ts:54](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/index.ts#L54) +[medusa-js/src/resources/admin/index.ts:54](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/index.ts#L54) diff --git a/docs/content/references/js-client/classes/AdminAuthResource.md b/docs/content/references/js-client/classes/AdminAuthResource.md index 3e71fd2a05..d5220febbb 100644 --- a/docs/content/references/js-client/classes/AdminAuthResource.md +++ b/docs/content/references/js-client/classes/AdminAuthResource.md @@ -29,7 +29,7 @@ Creates an authenticated session #### Defined in -[medusa-js/src/resources/admin/auth.ts:37](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/auth.ts#L37) +[medusa-js/src/resources/admin/auth.ts:37](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/auth.ts#L37) ___ @@ -53,7 +53,7 @@ destroys an authenticated session #### Defined in -[medusa-js/src/resources/admin/auth.ts:24](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/auth.ts#L24) +[medusa-js/src/resources/admin/auth.ts:24](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/auth.ts#L24) ___ @@ -78,4 +78,4 @@ Usually used to check if authenticated session is alive. #### Defined in -[medusa-js/src/resources/admin/auth.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/auth.ts#L12) +[medusa-js/src/resources/admin/auth.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/auth.ts#L12) diff --git a/docs/content/references/js-client/classes/AdminBatchJobsResource.md b/docs/content/references/js-client/classes/AdminBatchJobsResource.md index 8f12de19cc..d81175efc5 100644 --- a/docs/content/references/js-client/classes/AdminBatchJobsResource.md +++ b/docs/content/references/js-client/classes/AdminBatchJobsResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/admin/batch-jobs.ts:35](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/batch-jobs.ts#L35) +[medusa-js/src/resources/admin/batch-jobs.ts:35](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/batch-jobs.ts#L35) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/batch-jobs.ts:43](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/batch-jobs.ts#L43) +[medusa-js/src/resources/admin/batch-jobs.ts:43](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/batch-jobs.ts#L43) ___ @@ -67,7 +67,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/batch-jobs.ts:13](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/batch-jobs.ts#L13) +[medusa-js/src/resources/admin/batch-jobs.ts:13](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/batch-jobs.ts#L13) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/batch-jobs.ts:21](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/batch-jobs.ts#L21) +[medusa-js/src/resources/admin/batch-jobs.ts:21](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/batch-jobs.ts#L21) ___ @@ -109,4 +109,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/batch-jobs.ts:51](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/batch-jobs.ts#L51) +[medusa-js/src/resources/admin/batch-jobs.ts:51](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/batch-jobs.ts#L51) diff --git a/docs/content/references/js-client/classes/AdminCollectionsResource.md b/docs/content/references/js-client/classes/AdminCollectionsResource.md index b6c76eed83..a0f5ec9fb5 100644 --- a/docs/content/references/js-client/classes/AdminCollectionsResource.md +++ b/docs/content/references/js-client/classes/AdminCollectionsResource.md @@ -30,7 +30,7 @@ Updates products associated with a Product Collection #### Defined in -[medusa-js/src/resources/admin/collections.ts:100](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L100) +[medusa-js/src/resources/admin/collections.ts:100](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L100) ___ @@ -57,7 +57,7 @@ Created collection. #### Defined in -[medusa-js/src/resources/admin/collections.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L22) +[medusa-js/src/resources/admin/collections.ts:22](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L22) ___ @@ -84,7 +84,7 @@ Deleted response #### Defined in -[medusa-js/src/resources/admin/collections.ts:52](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L52) +[medusa-js/src/resources/admin/collections.ts:52](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L52) ___ @@ -111,7 +111,7 @@ a list of collections matching the query. #### Defined in -[medusa-js/src/resources/admin/collections.ts:80](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L80) +[medusa-js/src/resources/admin/collections.ts:80](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L80) ___ @@ -137,7 +137,7 @@ Removes products associated with a Product Collection #### Defined in -[medusa-js/src/resources/admin/collections.ts:115](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L115) +[medusa-js/src/resources/admin/collections.ts:115](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L115) ___ @@ -164,7 +164,7 @@ the collection with the given id #### Defined in -[medusa-js/src/resources/admin/collections.ts:66](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L66) +[medusa-js/src/resources/admin/collections.ts:66](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L66) ___ @@ -192,4 +192,4 @@ the updated collection. #### Defined in -[medusa-js/src/resources/admin/collections.ts:37](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/collections.ts#L37) +[medusa-js/src/resources/admin/collections.ts:37](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/collections.ts#L37) diff --git a/docs/content/references/js-client/classes/AdminCurrenciesResource.md b/docs/content/references/js-client/classes/AdminCurrenciesResource.md index 95b3410c70..45c3e37965 100644 --- a/docs/content/references/js-client/classes/AdminCurrenciesResource.md +++ b/docs/content/references/js-client/classes/AdminCurrenciesResource.md @@ -33,7 +33,7 @@ the list of currencies as well as the pagination properties. #### Defined in -[medusa-js/src/resources/admin/currencies.ts:20](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/currencies.ts#L20) +[medusa-js/src/resources/admin/currencies.ts:20](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/currencies.ts#L20) ___ @@ -63,4 +63,4 @@ the updated currency. #### Defined in -[medusa-js/src/resources/admin/currencies.ts:43](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/currencies.ts#L43) +[medusa-js/src/resources/admin/currencies.ts:43](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/currencies.ts#L43) diff --git a/docs/content/references/js-client/classes/AdminCustomerGroupsResource.md b/docs/content/references/js-client/classes/AdminCustomerGroupsResource.md index 114fe83d10..a9247a4b7b 100644 --- a/docs/content/references/js-client/classes/AdminCustomerGroupsResource.md +++ b/docs/content/references/js-client/classes/AdminCustomerGroupsResource.md @@ -28,7 +28,7 @@ Add multiple customers to a customer group. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:112](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L112) +[medusa-js/src/resources/admin/customer-groups.ts:112](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L112) ___ @@ -51,7 +51,7 @@ Create a customer group. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:26](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L26) +[medusa-js/src/resources/admin/customer-groups.ts:26](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L26) ___ @@ -74,7 +74,7 @@ Deletes a customer group. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:77](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L77) +[medusa-js/src/resources/admin/customer-groups.ts:77](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L77) ___ @@ -97,7 +97,7 @@ Lists customer groups. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:91](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L91) +[medusa-js/src/resources/admin/customer-groups.ts:91](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L91) ___ @@ -121,7 +121,7 @@ List and count customers that belong to provided customer groups. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:144](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L144) +[medusa-js/src/resources/admin/customer-groups.ts:144](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L144) ___ @@ -145,7 +145,7 @@ Remove multiple customers from a customer group. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:128](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L128) +[medusa-js/src/resources/admin/customer-groups.ts:128](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L128) ___ @@ -169,7 +169,7 @@ Retrieves a customer group. #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:41](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L41) +[medusa-js/src/resources/admin/customer-groups.ts:41](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L41) ___ @@ -193,4 +193,4 @@ Updates a customer group #### Defined in -[medusa-js/src/resources/admin/customer-groups.ts:62](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customer-groups.ts#L62) +[medusa-js/src/resources/admin/customer-groups.ts:62](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customer-groups.ts#L62) diff --git a/docs/content/references/js-client/classes/AdminCustomersResource.md b/docs/content/references/js-client/classes/AdminCustomersResource.md index f2dce643b0..dd77c6d68e 100644 --- a/docs/content/references/js-client/classes/AdminCustomersResource.md +++ b/docs/content/references/js-client/classes/AdminCustomersResource.md @@ -27,7 +27,7 @@ Creates a customer #### Defined in -[medusa-js/src/resources/admin/customers.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customers.ts#L18) +[medusa-js/src/resources/admin/customers.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customers.ts#L18) ___ @@ -50,7 +50,7 @@ Lists customers #### Defined in -[medusa-js/src/resources/admin/customers.ts:59](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customers.ts#L59) +[medusa-js/src/resources/admin/customers.ts:59](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customers.ts#L59) ___ @@ -73,7 +73,7 @@ Retrieves a customer #### Defined in -[medusa-js/src/resources/admin/customers.ts:46](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customers.ts#L46) +[medusa-js/src/resources/admin/customers.ts:46](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customers.ts#L46) ___ @@ -97,4 +97,4 @@ Updates a customer #### Defined in -[medusa-js/src/resources/admin/customers.ts:32](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/customers.ts#L32) +[medusa-js/src/resources/admin/customers.ts:32](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/customers.ts#L32) diff --git a/docs/content/references/js-client/classes/AdminDiscountsResource.md b/docs/content/references/js-client/classes/AdminDiscountsResource.md index 7492171719..7446aab944 100644 --- a/docs/content/references/js-client/classes/AdminDiscountsResource.md +++ b/docs/content/references/js-client/classes/AdminDiscountsResource.md @@ -8,6 +8,34 @@ ## Methods +### addConditionResourceBatch + +▸ **addConditionResourceBatch**(`discountId`, `conditionId`, `payload`, `query?`, `customHeaders?`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminDiscountsRes`](../modules/internal-7.md#admindiscountsres)\> + +**`Description`** + +Add a batch of items to a discount condition + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `discountId` | `string` | +| `conditionId` | `string` | +| `payload` | [`AdminPostDiscountsDiscountConditionsConditionBatchReq`](internal-7.AdminPostDiscountsDiscountConditionsConditionBatchReq.md) | +| `query?` | [`AdminPostDiscountsDiscountConditionsConditionBatchParams`](internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md) | +| `customHeaders` | `Record`<`string`, `any`\> | + +#### Returns + +[`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminDiscountsRes`](../modules/internal-7.md#admindiscountsres)\> + +#### Defined in + +[medusa-js/src/resources/admin/discounts.ts:218](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L218) + +___ + ### addRegion ▸ **addRegion**(`id`, `regionId`, `customHeaders?`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminDiscountsRes`](../modules/internal-7.md#admindiscountsres)\> @@ -30,7 +58,7 @@ Adds region to discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:24](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L24) +[medusa-js/src/resources/admin/discounts.ts:27](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L27) ___ @@ -55,7 +83,7 @@ Creates discounts #### Defined in -[medusa-js/src/resources/admin/discounts.ts:36](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L36) +[medusa-js/src/resources/admin/discounts.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L39) ___ @@ -82,7 +110,7 @@ creates a discount condition #### Defined in -[medusa-js/src/resources/admin/discounts.ts:145](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L145) +[medusa-js/src/resources/admin/discounts.ts:148](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L148) ___ @@ -108,7 +136,7 @@ Creates a dynamic discount code #### Defined in -[medusa-js/src/resources/admin/discounts.ts:59](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L59) +[medusa-js/src/resources/admin/discounts.ts:62](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L62) ___ @@ -133,7 +161,7 @@ Deletes a discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:71](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L71) +[medusa-js/src/resources/admin/discounts.ts:74](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L74) ___ @@ -159,7 +187,34 @@ Removes a condition from a discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:184](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L184) +[medusa-js/src/resources/admin/discounts.ts:187](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L187) + +___ + +### deleteConditionResourceBatch + +▸ **deleteConditionResourceBatch**(`discountId`, `conditionId`, `payload`, `customHeaders?`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminDiscountsRes`](../modules/internal-7.md#admindiscountsres)\> + +**`Description`** + +Delete a batch of items from a discount condition + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `discountId` | `string` | +| `conditionId` | `string` | +| `payload` | [`AdminDeleteDiscountsDiscountConditionsConditionBatchReq`](internal-7.AdminDeleteDiscountsDiscountConditionsConditionBatchReq.md) | +| `customHeaders` | `Record`<`string`, `any`\> | + +#### Returns + +[`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminDiscountsRes`](../modules/internal-7.md#admindiscountsres)\> + +#### Defined in + +[medusa-js/src/resources/admin/discounts.ts:238](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L238) ___ @@ -185,7 +240,7 @@ Deletes a dynamic discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:82](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L82) +[medusa-js/src/resources/admin/discounts.ts:85](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L85) ___ @@ -212,7 +267,7 @@ Gets a condition from a discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:196](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L196) +[medusa-js/src/resources/admin/discounts.ts:199](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L199) ___ @@ -237,7 +292,7 @@ Lists discounts #### Defined in -[medusa-js/src/resources/admin/discounts.ts:116](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L116) +[medusa-js/src/resources/admin/discounts.ts:119](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L119) ___ @@ -263,7 +318,7 @@ Removes a region from a discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:133](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L133) +[medusa-js/src/resources/admin/discounts.ts:136](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L136) ___ @@ -288,7 +343,7 @@ Retrieves a discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:94](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L94) +[medusa-js/src/resources/admin/discounts.ts:97](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L97) ___ @@ -313,7 +368,7 @@ Retrieves a discount by code #### Defined in -[medusa-js/src/resources/admin/discounts.ts:105](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L105) +[medusa-js/src/resources/admin/discounts.ts:108](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L108) ___ @@ -339,7 +394,7 @@ Updates discount #### Defined in -[medusa-js/src/resources/admin/discounts.ts:47](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L47) +[medusa-js/src/resources/admin/discounts.ts:50](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L50) ___ @@ -367,4 +422,4 @@ Updates a discount condition #### Defined in -[medusa-js/src/resources/admin/discounts.ts:164](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/discounts.ts#L164) +[medusa-js/src/resources/admin/discounts.ts:167](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/discounts.ts#L167) diff --git a/docs/content/references/js-client/classes/AdminDraftOrdersResource.md b/docs/content/references/js-client/classes/AdminDraftOrdersResource.md index 66010747f5..32b0db7246 100644 --- a/docs/content/references/js-client/classes/AdminDraftOrdersResource.md +++ b/docs/content/references/js-client/classes/AdminDraftOrdersResource.md @@ -30,7 +30,7 @@ Add line item to draft order #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:30](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L30) +[medusa-js/src/resources/admin/draft-orders.ts:30](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L30) ___ @@ -46,7 +46,7 @@ Creates a draft order | Name | Type | | :------ | :------ | -| `payload` | [`AdminPostDraftOrdersDraftOrderReq`](internal-8.AdminPostDraftOrdersDraftOrderReq.md) | +| `payload` | [`AdminPostDraftOrdersReq`](internal-8.AdminPostDraftOrdersReq.md) | | `customHeaders` | `Record`<`string`, `any`\> | #### Returns @@ -55,7 +55,7 @@ Creates a draft order #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:19](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L19) +[medusa-js/src/resources/admin/draft-orders.ts:20](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L20) ___ @@ -80,7 +80,7 @@ Delete draft order #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:42](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L42) +[medusa-js/src/resources/admin/draft-orders.ts:42](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L42) ___ @@ -105,7 +105,7 @@ Lists draft orders #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:76](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L76) +[medusa-js/src/resources/admin/draft-orders.ts:76](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L76) ___ @@ -130,7 +130,7 @@ Mark a draft order as paid #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:93](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L93) +[medusa-js/src/resources/admin/draft-orders.ts:93](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L93) ___ @@ -156,7 +156,7 @@ Remove line item #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:53](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L53) +[medusa-js/src/resources/admin/draft-orders.ts:53](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L53) ___ @@ -181,7 +181,7 @@ Retrieves a draft order #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:65](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L65) +[medusa-js/src/resources/admin/draft-orders.ts:65](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L65) ___ @@ -207,7 +207,7 @@ Update draft order #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:104](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L104) +[medusa-js/src/resources/admin/draft-orders.ts:104](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L104) ___ @@ -234,4 +234,4 @@ Update draft order line item #### Defined in -[medusa-js/src/resources/admin/draft-orders.ts:116](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/draft-orders.ts#L116) +[medusa-js/src/resources/admin/draft-orders.ts:116](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/draft-orders.ts#L116) diff --git a/docs/content/references/js-client/classes/AdminGiftCardsResource.md b/docs/content/references/js-client/classes/AdminGiftCardsResource.md index b6160b74b9..944b73c223 100644 --- a/docs/content/references/js-client/classes/AdminGiftCardsResource.md +++ b/docs/content/references/js-client/classes/AdminGiftCardsResource.md @@ -29,7 +29,7 @@ Creates a gift card #### Defined in -[medusa-js/src/resources/admin/gift-cards.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/gift-cards.ts#L17) +[medusa-js/src/resources/admin/gift-cards.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/gift-cards.ts#L17) ___ @@ -54,7 +54,7 @@ Deletes a gift card #### Defined in -[medusa-js/src/resources/admin/gift-cards.ts:40](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/gift-cards.ts#L40) +[medusa-js/src/resources/admin/gift-cards.ts:40](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/gift-cards.ts#L40) ___ @@ -79,7 +79,7 @@ Lists gift cards #### Defined in -[medusa-js/src/resources/admin/gift-cards.ts:62](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/gift-cards.ts#L62) +[medusa-js/src/resources/admin/gift-cards.ts:62](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/gift-cards.ts#L62) ___ @@ -104,7 +104,7 @@ Deletes a gift card #### Defined in -[medusa-js/src/resources/admin/gift-cards.ts:51](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/gift-cards.ts#L51) +[medusa-js/src/resources/admin/gift-cards.ts:51](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/gift-cards.ts#L51) ___ @@ -130,4 +130,4 @@ Updates a gift card #### Defined in -[medusa-js/src/resources/admin/gift-cards.ts:28](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/gift-cards.ts#L28) +[medusa-js/src/resources/admin/gift-cards.ts:28](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/gift-cards.ts#L28) diff --git a/docs/content/references/js-client/classes/AdminInvitesResource.md b/docs/content/references/js-client/classes/AdminInvitesResource.md index 1f13e858cf..4ca7a0dfa4 100644 --- a/docs/content/references/js-client/classes/AdminInvitesResource.md +++ b/docs/content/references/js-client/classes/AdminInvitesResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/admin/invites.ts:10](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/invites.ts#L10) +[medusa-js/src/resources/admin/invites.ts:10](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/invites.ts#L10) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/invites.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/invites.ts#L18) +[medusa-js/src/resources/admin/invites.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/invites.ts#L18) ___ @@ -67,7 +67,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/invites.ts:26](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/invites.ts#L26) +[medusa-js/src/resources/admin/invites.ts:26](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/invites.ts#L26) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/invites.ts:34](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/invites.ts#L34) +[medusa-js/src/resources/admin/invites.ts:34](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/invites.ts#L34) ___ @@ -108,4 +108,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/invites.ts:41](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/invites.ts#L41) +[medusa-js/src/resources/admin/invites.ts:41](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/invites.ts#L41) diff --git a/docs/content/references/js-client/classes/AdminNotesResource.md b/docs/content/references/js-client/classes/AdminNotesResource.md index 73c7cca9b9..692531c115 100644 --- a/docs/content/references/js-client/classes/AdminNotesResource.md +++ b/docs/content/references/js-client/classes/AdminNotesResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/admin/notes.ts:14](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notes.ts#L14) +[medusa-js/src/resources/admin/notes.ts:14](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notes.ts#L14) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/notes.ts:31](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notes.ts#L31) +[medusa-js/src/resources/admin/notes.ts:31](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notes.ts#L31) ___ @@ -67,7 +67,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/notes.ts:47](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notes.ts#L47) +[medusa-js/src/resources/admin/notes.ts:47](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notes.ts#L47) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/notes.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notes.ts#L39) +[medusa-js/src/resources/admin/notes.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notes.ts#L39) ___ @@ -110,4 +110,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/notes.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notes.ts#L22) +[medusa-js/src/resources/admin/notes.ts:22](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notes.ts#L22) diff --git a/docs/content/references/js-client/classes/AdminNotificationsResource.md b/docs/content/references/js-client/classes/AdminNotificationsResource.md index 5ce8022668..72c5fd16ef 100644 --- a/docs/content/references/js-client/classes/AdminNotificationsResource.md +++ b/docs/content/references/js-client/classes/AdminNotificationsResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/admin/notifications.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notifications.ts#L12) +[medusa-js/src/resources/admin/notifications.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notifications.ts#L12) ___ @@ -47,4 +47,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/notifications.ts:26](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/notifications.ts#L26) +[medusa-js/src/resources/admin/notifications.ts:26](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/notifications.ts#L26) diff --git a/docs/content/references/js-client/classes/AdminOrderEditsResource.md b/docs/content/references/js-client/classes/AdminOrderEditsResource.md index 399268c6a8..5fc24da7db 100644 --- a/docs/content/references/js-client/classes/AdminOrderEditsResource.md +++ b/docs/content/references/js-client/classes/AdminOrderEditsResource.md @@ -26,7 +26,7 @@ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:47](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L47) +[medusa-js/src/resources/admin/order-edits.ts:72](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L72) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:73](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L73) +[medusa-js/src/resources/admin/order-edits.ts:98](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L98) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:81](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L81) +[medusa-js/src/resources/admin/order-edits.ts:106](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L106) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L22) +[medusa-js/src/resources/admin/order-edits.ts:47](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L47) ___ @@ -110,7 +110,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L39) +[medusa-js/src/resources/admin/order-edits.ts:64](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L64) ___ @@ -132,7 +132,28 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:56](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L56) +[medusa-js/src/resources/admin/order-edits.ts:81](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L81) + +___ + +### list + +▸ **list**(`query?`, `customHeaders?`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminOrderEditsListRes`](../modules/internal-13.md#adminordereditslistres)\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `query?` | [`GetOrderEditsParams`](internal-13.GetOrderEditsParams.md) | +| `customHeaders` | `Record`<`string`, `any`\> | + +#### Returns + +[`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminOrderEditsListRes`](../modules/internal-13.md#adminordereditslistres)\> + +#### Defined in + +[medusa-js/src/resources/admin/order-edits.ts:33](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L33) ___ @@ -154,7 +175,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:99](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L99) +[medusa-js/src/resources/admin/order-edits.ts:124](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L124) ___ @@ -175,19 +196,20 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:65](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L65) +[medusa-js/src/resources/admin/order-edits.ts:90](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L90) ___ ### retrieve -▸ **retrieve**(`id`, `customHeaders?`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminOrderEditsRes`](../modules/internal-13.md#adminordereditsres)\> +▸ **retrieve**(`id`, `query?`, `customHeaders?`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminOrderEditsRes`](../modules/internal-13.md#adminordereditsres)\> #### Parameters | Name | Type | | :------ | :------ | | `id` | `string` | +| `query?` | [`GetOrderEditsOrderEditParams`](internal-13.GetOrderEditsOrderEditParams.md) | | `customHeaders` | `Record`<`string`, `any`\> | #### Returns @@ -196,7 +218,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:14](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L14) +[medusa-js/src/resources/admin/order-edits.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L18) ___ @@ -218,7 +240,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:30](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L30) +[medusa-js/src/resources/admin/order-edits.ts:55](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L55) ___ @@ -241,4 +263,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/order-edits.ts:89](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/order-edits.ts#L89) +[medusa-js/src/resources/admin/order-edits.ts:114](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/order-edits.ts#L114) diff --git a/docs/content/references/js-client/classes/AdminOrdersResource.md b/docs/content/references/js-client/classes/AdminOrdersResource.md index c8da15e194..a48bab32a8 100644 --- a/docs/content/references/js-client/classes/AdminOrdersResource.md +++ b/docs/content/references/js-client/classes/AdminOrdersResource.md @@ -26,7 +26,7 @@ #### Defined in -[medusa-js/src/resources/admin/orders.ts:152](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L152) +[medusa-js/src/resources/admin/orders.ts:152](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L152) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:161](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L161) +[medusa-js/src/resources/admin/orders.ts:161](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L161) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:144](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L144) +[medusa-js/src/resources/admin/orders.ts:144](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L144) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:225](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L225) +[medusa-js/src/resources/admin/orders.ts:225](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L225) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:116](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L116) +[medusa-js/src/resources/admin/orders.ts:116](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L116) ___ @@ -135,7 +135,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:97](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L97) +[medusa-js/src/resources/admin/orders.ts:97](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L97) ___ @@ -157,7 +157,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:178](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L178) +[medusa-js/src/resources/admin/orders.ts:178](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L178) ___ @@ -180,7 +180,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:106](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L106) +[medusa-js/src/resources/admin/orders.ts:106](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L106) ___ @@ -201,7 +201,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:71](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L71) +[medusa-js/src/resources/admin/orders.ts:71](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L71) ___ @@ -222,7 +222,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:63](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L63) +[medusa-js/src/resources/admin/orders.ts:63](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L63) ___ @@ -244,7 +244,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:216](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L216) +[medusa-js/src/resources/admin/orders.ts:216](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L216) ___ @@ -267,7 +267,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:254](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L254) +[medusa-js/src/resources/admin/orders.ts:254](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L254) ___ @@ -289,7 +289,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:88](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L88) +[medusa-js/src/resources/admin/orders.ts:88](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L88) ___ @@ -311,7 +311,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:126](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L126) +[medusa-js/src/resources/admin/orders.ts:126](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L126) ___ @@ -333,7 +333,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:169](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L169) +[medusa-js/src/resources/admin/orders.ts:169](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L169) ___ @@ -356,7 +356,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:197](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L197) +[medusa-js/src/resources/admin/orders.ts:197](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L197) ___ @@ -379,7 +379,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:244](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L244) +[medusa-js/src/resources/admin/orders.ts:244](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L244) ___ @@ -402,7 +402,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:187](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L187) +[medusa-js/src/resources/admin/orders.ts:187](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L187) ___ @@ -423,7 +423,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:49](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L49) +[medusa-js/src/resources/admin/orders.ts:49](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L49) ___ @@ -445,7 +445,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:207](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L207) +[medusa-js/src/resources/admin/orders.ts:207](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L207) ___ @@ -467,7 +467,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:79](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L79) +[medusa-js/src/resources/admin/orders.ts:79](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L79) ___ @@ -489,7 +489,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:135](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L135) +[medusa-js/src/resources/admin/orders.ts:135](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L135) ___ @@ -511,7 +511,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:34](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L34) +[medusa-js/src/resources/admin/orders.ts:34](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L34) ___ @@ -533,7 +533,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:25](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L25) +[medusa-js/src/resources/admin/orders.ts:25](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L25) ___ @@ -556,4 +556,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/orders.ts:234](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/orders.ts#L234) +[medusa-js/src/resources/admin/orders.ts:234](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/orders.ts#L234) diff --git a/docs/content/references/js-client/classes/AdminPriceListResource.md b/docs/content/references/js-client/classes/AdminPriceListResource.md index edbab077d5..d5aa747358 100644 --- a/docs/content/references/js-client/classes/AdminPriceListResource.md +++ b/docs/content/references/js-client/classes/AdminPriceListResource.md @@ -26,7 +26,7 @@ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:80](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L80) +[medusa-js/src/resources/admin/price-lists.ts:80](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L80) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L18) +[medusa-js/src/resources/admin/price-lists.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L18) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:35](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L35) +[medusa-js/src/resources/admin/price-lists.ts:35](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L35) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:89](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L89) +[medusa-js/src/resources/admin/price-lists.ts:89](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L89) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:98](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L98) +[medusa-js/src/resources/admin/price-lists.ts:98](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L98) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:107](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L107) +[medusa-js/src/resources/admin/price-lists.ts:107](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L107) ___ @@ -155,7 +155,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:51](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L51) +[medusa-js/src/resources/admin/price-lists.ts:51](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L51) ___ @@ -177,7 +177,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:65](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L65) +[medusa-js/src/resources/admin/price-lists.ts:65](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L65) ___ @@ -198,7 +198,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:43](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L43) +[medusa-js/src/resources/admin/price-lists.ts:43](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L43) ___ @@ -220,4 +220,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/price-lists.ts:26](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/price-lists.ts#L26) +[medusa-js/src/resources/admin/price-lists.ts:26](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/price-lists.ts#L26) diff --git a/docs/content/references/js-client/classes/AdminProductTagsResource.md b/docs/content/references/js-client/classes/AdminProductTagsResource.md index e69cabbe6e..941bfbe544 100644 --- a/docs/content/references/js-client/classes/AdminProductTagsResource.md +++ b/docs/content/references/js-client/classes/AdminProductTagsResource.md @@ -24,4 +24,4 @@ #### Defined in -[medusa-js/src/resources/admin/product-tags.ts:10](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/product-tags.ts#L10) +[medusa-js/src/resources/admin/product-tags.ts:10](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/product-tags.ts#L10) diff --git a/docs/content/references/js-client/classes/AdminProductTypesResource.md b/docs/content/references/js-client/classes/AdminProductTypesResource.md index e16b4569c0..99846acdb6 100644 --- a/docs/content/references/js-client/classes/AdminProductTypesResource.md +++ b/docs/content/references/js-client/classes/AdminProductTypesResource.md @@ -24,4 +24,4 @@ #### Defined in -[medusa-js/src/resources/admin/product-types.ts:10](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/product-types.ts#L10) +[medusa-js/src/resources/admin/product-types.ts:10](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/product-types.ts#L10) diff --git a/docs/content/references/js-client/classes/AdminProductsResource.md b/docs/content/references/js-client/classes/AdminProductsResource.md index 3a0d5cd419..b709152b75 100644 --- a/docs/content/references/js-client/classes/AdminProductsResource.md +++ b/docs/content/references/js-client/classes/AdminProductsResource.md @@ -26,7 +26,7 @@ #### Defined in -[medusa-js/src/resources/admin/products.ts:121](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L121) +[medusa-js/src/resources/admin/products.ts:121](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L121) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:23](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L23) +[medusa-js/src/resources/admin/products.ts:23](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L23) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:93](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L93) +[medusa-js/src/resources/admin/products.ts:93](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L93) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:48](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L48) +[medusa-js/src/resources/admin/products.ts:48](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L48) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:140](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L140) +[medusa-js/src/resources/admin/products.ts:140](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L140) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:112](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L112) +[medusa-js/src/resources/admin/products.ts:112](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L112) ___ @@ -155,7 +155,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:56](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L56) +[medusa-js/src/resources/admin/products.ts:56](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L56) ___ @@ -175,7 +175,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:77](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L77) +[medusa-js/src/resources/admin/products.ts:77](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L77) ___ @@ -195,7 +195,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:70](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L70) +[medusa-js/src/resources/admin/products.ts:70](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L70) ___ @@ -216,7 +216,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:31](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L31) +[medusa-js/src/resources/admin/products.ts:31](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L31) ___ @@ -238,7 +238,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:84](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L84) +[medusa-js/src/resources/admin/products.ts:84](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L84) ___ @@ -260,7 +260,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L39) +[medusa-js/src/resources/admin/products.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L39) ___ @@ -283,7 +283,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:130](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L130) +[medusa-js/src/resources/admin/products.ts:130](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L130) ___ @@ -306,4 +306,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/products.ts:102](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/products.ts#L102) +[medusa-js/src/resources/admin/products.ts:102](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/products.ts#L102) diff --git a/docs/content/references/js-client/classes/AdminRegionsResource.md b/docs/content/references/js-client/classes/AdminRegionsResource.md index 41a7a83c2c..88f67a03b7 100644 --- a/docs/content/references/js-client/classes/AdminRegionsResource.md +++ b/docs/content/references/js-client/classes/AdminRegionsResource.md @@ -32,7 +32,7 @@ updated region #### Defined in -[medusa-js/src/resources/admin/regions.ts:103](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L103) +[medusa-js/src/resources/admin/regions.ts:103](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L103) ___ @@ -60,7 +60,7 @@ updated region #### Defined in -[medusa-js/src/resources/admin/regions.ts:135](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L135) +[medusa-js/src/resources/admin/regions.ts:135](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L135) ___ @@ -88,7 +88,7 @@ updated region #### Defined in -[medusa-js/src/resources/admin/regions.ts:181](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L181) +[medusa-js/src/resources/admin/regions.ts:181](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L181) ___ @@ -115,7 +115,7 @@ created region. #### Defined in -[medusa-js/src/resources/admin/regions.ts:24](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L24) +[medusa-js/src/resources/admin/regions.ts:24](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L24) ___ @@ -142,7 +142,7 @@ Deleted response #### Defined in -[medusa-js/src/resources/admin/regions.ts:54](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L54) +[medusa-js/src/resources/admin/regions.ts:54](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L54) ___ @@ -170,7 +170,7 @@ updated region #### Defined in -[medusa-js/src/resources/admin/regions.ts:119](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L119) +[medusa-js/src/resources/admin/regions.ts:119](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L119) ___ @@ -198,7 +198,7 @@ updated region #### Defined in -[medusa-js/src/resources/admin/regions.ts:151](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L151) +[medusa-js/src/resources/admin/regions.ts:151](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L151) ___ @@ -226,7 +226,7 @@ updated region #### Defined in -[medusa-js/src/resources/admin/regions.ts:197](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L197) +[medusa-js/src/resources/admin/regions.ts:197](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L197) ___ @@ -253,7 +253,7 @@ a list of regions matching the query. #### Defined in -[medusa-js/src/resources/admin/regions.ts:82](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L82) +[medusa-js/src/resources/admin/regions.ts:82](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L82) ___ @@ -280,7 +280,7 @@ the region with the given id #### Defined in -[medusa-js/src/resources/admin/regions.ts:68](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L68) +[medusa-js/src/resources/admin/regions.ts:68](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L68) ___ @@ -307,7 +307,7 @@ list of fulfillment options #### Defined in -[medusa-js/src/resources/admin/regions.ts:166](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L166) +[medusa-js/src/resources/admin/regions.ts:166](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L166) ___ @@ -335,4 +335,4 @@ the updated region. #### Defined in -[medusa-js/src/resources/admin/regions.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/regions.ts#L39) +[medusa-js/src/resources/admin/regions.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/regions.ts#L39) diff --git a/docs/content/references/js-client/classes/AdminReturnReasonsResource.md b/docs/content/references/js-client/classes/AdminReturnReasonsResource.md index 3e4b823996..1341b7f210 100644 --- a/docs/content/references/js-client/classes/AdminReturnReasonsResource.md +++ b/docs/content/references/js-client/classes/AdminReturnReasonsResource.md @@ -31,7 +31,7 @@ Created return reason. #### Defined in -[medusa-js/src/resources/admin/return-reasons.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/return-reasons.ts#L18) +[medusa-js/src/resources/admin/return-reasons.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/return-reasons.ts#L18) ___ @@ -58,7 +58,7 @@ Deleted response #### Defined in -[medusa-js/src/resources/admin/return-reasons.ts:48](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/return-reasons.ts#L48) +[medusa-js/src/resources/admin/return-reasons.ts:48](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/return-reasons.ts#L48) ___ @@ -84,7 +84,7 @@ a list of return reasons matching the query. #### Defined in -[medusa-js/src/resources/admin/return-reasons.ts:75](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/return-reasons.ts#L75) +[medusa-js/src/resources/admin/return-reasons.ts:75](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/return-reasons.ts#L75) ___ @@ -111,7 +111,7 @@ the return reason with the given id #### Defined in -[medusa-js/src/resources/admin/return-reasons.ts:62](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/return-reasons.ts#L62) +[medusa-js/src/resources/admin/return-reasons.ts:62](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/return-reasons.ts#L62) ___ @@ -139,4 +139,4 @@ the updated return reason. #### Defined in -[medusa-js/src/resources/admin/return-reasons.ts:33](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/return-reasons.ts#L33) +[medusa-js/src/resources/admin/return-reasons.ts:33](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/return-reasons.ts#L33) diff --git a/docs/content/references/js-client/classes/AdminReturnsResource.md b/docs/content/references/js-client/classes/AdminReturnsResource.md index 25c6e5cec0..d92bf4282e 100644 --- a/docs/content/references/js-client/classes/AdminReturnsResource.md +++ b/docs/content/references/js-client/classes/AdminReturnsResource.md @@ -31,7 +31,7 @@ the order for which the return was canceled #### Defined in -[medusa-js/src/resources/admin/returns.ts:19](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/returns.ts#L19) +[medusa-js/src/resources/admin/returns.ts:19](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/returns.ts#L19) ___ @@ -58,7 +58,7 @@ a list of returns matching the query #### Defined in -[medusa-js/src/resources/admin/returns.ts:49](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/returns.ts#L49) +[medusa-js/src/resources/admin/returns.ts:49](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/returns.ts#L49) ___ @@ -86,4 +86,4 @@ the return #### Defined in -[medusa-js/src/resources/admin/returns.ts:34](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/returns.ts#L34) +[medusa-js/src/resources/admin/returns.ts:34](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/returns.ts#L34) diff --git a/docs/content/references/js-client/classes/AdminSalesChannelsResource.md b/docs/content/references/js-client/classes/AdminSalesChannelsResource.md index 649698d95f..e06cd0854e 100644 --- a/docs/content/references/js-client/classes/AdminSalesChannelsResource.md +++ b/docs/content/references/js-client/classes/AdminSalesChannelsResource.md @@ -36,7 +36,7 @@ a medusa sales channel #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:116](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L116) +[medusa-js/src/resources/admin/sales-channels.ts:116](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L116) ___ @@ -57,7 +57,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:34](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L34) +[medusa-js/src/resources/admin/sales-channels.ts:34](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L34) ___ @@ -88,7 +88,7 @@ an deletion result #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:85](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L85) +[medusa-js/src/resources/admin/sales-channels.ts:85](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L85) ___ @@ -119,7 +119,7 @@ the list of sales channel as well as the pagination properties #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:64](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L64) +[medusa-js/src/resources/admin/sales-channels.ts:64](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L64) ___ @@ -151,7 +151,7 @@ a medusa sales channel #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:100](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L100) +[medusa-js/src/resources/admin/sales-channels.ts:100](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L100) ___ @@ -182,7 +182,7 @@ a medusa sales channel #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L22) +[medusa-js/src/resources/admin/sales-channels.ts:22](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L22) ___ @@ -214,4 +214,4 @@ the updated medusa sales channel #### Defined in -[medusa-js/src/resources/admin/sales-channels.ts:48](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/sales-channels.ts#L48) +[medusa-js/src/resources/admin/sales-channels.ts:48](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/sales-channels.ts#L48) diff --git a/docs/content/references/js-client/classes/AdminShippingOptionsResource.md b/docs/content/references/js-client/classes/AdminShippingOptionsResource.md index ac1a324e03..7379d277b8 100644 --- a/docs/content/references/js-client/classes/AdminShippingOptionsResource.md +++ b/docs/content/references/js-client/classes/AdminShippingOptionsResource.md @@ -31,7 +31,7 @@ created shipping option. #### Defined in -[medusa-js/src/resources/admin/shipping-options.ts:20](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-options.ts#L20) +[medusa-js/src/resources/admin/shipping-options.ts:20](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-options.ts#L20) ___ @@ -58,7 +58,7 @@ deleted response #### Defined in -[medusa-js/src/resources/admin/shipping-options.ts:50](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-options.ts#L50) +[medusa-js/src/resources/admin/shipping-options.ts:50](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-options.ts#L50) ___ @@ -85,7 +85,7 @@ a list of shipping options matching the query. #### Defined in -[medusa-js/src/resources/admin/shipping-options.ts:78](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-options.ts#L78) +[medusa-js/src/resources/admin/shipping-options.ts:78](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-options.ts#L78) ___ @@ -112,7 +112,7 @@ the shipping option with the given id #### Defined in -[medusa-js/src/resources/admin/shipping-options.ts:64](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-options.ts#L64) +[medusa-js/src/resources/admin/shipping-options.ts:64](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-options.ts#L64) ___ @@ -140,4 +140,4 @@ the updated shipping option. #### Defined in -[medusa-js/src/resources/admin/shipping-options.ts:35](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-options.ts#L35) +[medusa-js/src/resources/admin/shipping-options.ts:35](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-options.ts#L35) diff --git a/docs/content/references/js-client/classes/AdminShippingProfilesResource.md b/docs/content/references/js-client/classes/AdminShippingProfilesResource.md index 25b668cf18..ad59462ab2 100644 --- a/docs/content/references/js-client/classes/AdminShippingProfilesResource.md +++ b/docs/content/references/js-client/classes/AdminShippingProfilesResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/admin/shipping-profiles.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L12) +[medusa-js/src/resources/admin/shipping-profiles.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L12) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/shipping-profiles.ts:29](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L29) +[medusa-js/src/resources/admin/shipping-profiles.ts:29](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L29) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/shipping-profiles.ts:45](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L45) +[medusa-js/src/resources/admin/shipping-profiles.ts:45](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L45) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/shipping-profiles.ts:37](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L37) +[medusa-js/src/resources/admin/shipping-profiles.ts:37](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L37) ___ @@ -109,4 +109,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/shipping-profiles.ts:20](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L20) +[medusa-js/src/resources/admin/shipping-profiles.ts:20](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/shipping-profiles.ts#L20) diff --git a/docs/content/references/js-client/classes/AdminStoresResource.md b/docs/content/references/js-client/classes/AdminStoresResource.md index 055a43e6e8..4e630411c4 100644 --- a/docs/content/references/js-client/classes/AdminStoresResource.md +++ b/docs/content/references/js-client/classes/AdminStoresResource.md @@ -31,7 +31,7 @@ updated store. #### Defined in -[medusa-js/src/resources/admin/store.ts:31](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/store.ts#L31) +[medusa-js/src/resources/admin/store.ts:31](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/store.ts#L31) ___ @@ -58,7 +58,7 @@ updated store #### Defined in -[medusa-js/src/resources/admin/store.ts:45](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/store.ts#L45) +[medusa-js/src/resources/admin/store.ts:45](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/store.ts#L45) ___ @@ -84,7 +84,7 @@ a list of payment providers configured on the store #### Defined in -[medusa-js/src/resources/admin/store.ts:68](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/store.ts#L68) +[medusa-js/src/resources/admin/store.ts:68](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/store.ts#L68) ___ @@ -110,7 +110,7 @@ a list of payment providers configured on the store #### Defined in -[medusa-js/src/resources/admin/store.ts:79](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/store.ts#L79) +[medusa-js/src/resources/admin/store.ts:79](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/store.ts#L79) ___ @@ -136,7 +136,7 @@ a medusa store #### Defined in -[medusa-js/src/resources/admin/store.ts:57](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/store.ts#L57) +[medusa-js/src/resources/admin/store.ts:57](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/store.ts#L57) ___ @@ -163,4 +163,4 @@ the updated store. #### Defined in -[medusa-js/src/resources/admin/store.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/store.ts#L17) +[medusa-js/src/resources/admin/store.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/store.ts#L17) diff --git a/docs/content/references/js-client/classes/AdminSwapsResource.md b/docs/content/references/js-client/classes/AdminSwapsResource.md index 0f68279df4..ca924c77e5 100644 --- a/docs/content/references/js-client/classes/AdminSwapsResource.md +++ b/docs/content/references/js-client/classes/AdminSwapsResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/admin/swaps.ts:19](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/swaps.ts#L19) +[medusa-js/src/resources/admin/swaps.ts:19](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/swaps.ts#L19) ___ @@ -46,4 +46,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/swaps.ts:11](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/swaps.ts#L11) +[medusa-js/src/resources/admin/swaps.ts:11](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/swaps.ts#L11) diff --git a/docs/content/references/js-client/classes/AdminTaxRatesResource.md b/docs/content/references/js-client/classes/AdminTaxRatesResource.md index 17f286a8b7..d6c624447e 100644 --- a/docs/content/references/js-client/classes/AdminTaxRatesResource.md +++ b/docs/content/references/js-client/classes/AdminTaxRatesResource.md @@ -27,7 +27,7 @@ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:100](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L100) +[medusa-js/src/resources/admin/tax-rates.ts:100](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L100) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:84](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L84) +[medusa-js/src/resources/admin/tax-rates.ts:84](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L84) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:116](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L116) +[medusa-js/src/resources/admin/tax-rates.ts:116](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L116) ___ @@ -95,7 +95,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:53](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L53) +[medusa-js/src/resources/admin/tax-rates.ts:53](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L53) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:180](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L180) +[medusa-js/src/resources/admin/tax-rates.ts:180](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L180) ___ @@ -137,7 +137,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L39) +[medusa-js/src/resources/admin/tax-rates.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L39) ___ @@ -160,7 +160,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:148](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L148) +[medusa-js/src/resources/admin/tax-rates.ts:148](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L148) ___ @@ -183,7 +183,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:132](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L132) +[medusa-js/src/resources/admin/tax-rates.ts:132](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L132) ___ @@ -206,7 +206,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:164](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L164) +[medusa-js/src/resources/admin/tax-rates.ts:164](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L164) ___ @@ -228,7 +228,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:24](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L24) +[medusa-js/src/resources/admin/tax-rates.ts:24](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L24) ___ @@ -251,4 +251,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/tax-rates.ts:68](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/tax-rates.ts#L68) +[medusa-js/src/resources/admin/tax-rates.ts:68](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/tax-rates.ts#L68) diff --git a/docs/content/references/js-client/classes/AdminUploadsResource.md b/docs/content/references/js-client/classes/AdminUploadsResource.md index 5caafe62bd..09db854064 100644 --- a/docs/content/references/js-client/classes/AdminUploadsResource.md +++ b/docs/content/references/js-client/classes/AdminUploadsResource.md @@ -20,7 +20,7 @@ #### Defined in -[medusa-js/src/resources/admin/uploads.ts:14](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/uploads.ts#L14) +[medusa-js/src/resources/admin/uploads.ts:14](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/uploads.ts#L14) ## Methods @@ -40,7 +40,27 @@ #### Defined in -[medusa-js/src/resources/admin/uploads.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/uploads.ts#L18) +[medusa-js/src/resources/admin/uploads.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/uploads.ts#L18) + +___ + +### createProtected + +▸ **createProtected**(`file`): [`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminUploadsRes`](../modules/internal-28.md#adminuploadsres)\> + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `file` | [`IAdminPostUploadsFileReq`](internal-28.IAdminPostUploadsFileReq.md) | + +#### Returns + +[`ResponsePromise`](../modules/internal.md#responsepromise)<[`AdminUploadsRes`](../modules/internal-28.md#adminuploadsres)\> + +#### Defined in + +[medusa-js/src/resources/admin/uploads.ts:27](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/uploads.ts#L27) ___ @@ -61,7 +81,7 @@ ___ #### Defined in -[medusa-js/src/resources/admin/uploads.ts:27](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/uploads.ts#L27) +[medusa-js/src/resources/admin/uploads.ts:36](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/uploads.ts#L36) ___ @@ -82,4 +102,4 @@ ___ #### Defined in -[medusa-js/src/resources/admin/uploads.ts:36](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/uploads.ts#L36) +[medusa-js/src/resources/admin/uploads.ts:45](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/uploads.ts#L45) diff --git a/docs/content/references/js-client/classes/AdminUsersResource.md b/docs/content/references/js-client/classes/AdminUsersResource.md index 4a3263e6c3..4c776ba2b4 100644 --- a/docs/content/references/js-client/classes/AdminUsersResource.md +++ b/docs/content/references/js-client/classes/AdminUsersResource.md @@ -31,7 +31,7 @@ created user #### Defined in -[medusa-js/src/resources/admin/users.ts:64](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L64) +[medusa-js/src/resources/admin/users.ts:64](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L64) ___ @@ -58,7 +58,7 @@ delete response #### Defined in -[medusa-js/src/resources/admin/users.ts:94](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L94) +[medusa-js/src/resources/admin/users.ts:94](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L94) ___ @@ -84,7 +84,7 @@ a list of all users #### Defined in -[medusa-js/src/resources/admin/users.ts:106](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L106) +[medusa-js/src/resources/admin/users.ts:106](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L106) ___ @@ -109,7 +109,7 @@ resets the users password given the correct token. #### Defined in -[medusa-js/src/resources/admin/users.ts:36](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L36) +[medusa-js/src/resources/admin/users.ts:36](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L36) ___ @@ -134,7 +134,7 @@ the user #### Defined in -[medusa-js/src/resources/admin/users.ts:50](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L50) +[medusa-js/src/resources/admin/users.ts:50](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L50) ___ @@ -159,7 +159,7 @@ resets password by re-sending password token. #### Defined in -[medusa-js/src/resources/admin/users.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L22) +[medusa-js/src/resources/admin/users.ts:22](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L22) ___ @@ -187,4 +187,4 @@ the updated user #### Defined in -[medusa-js/src/resources/admin/users.ts:79](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/users.ts#L79) +[medusa-js/src/resources/admin/users.ts:79](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/users.ts#L79) diff --git a/docs/content/references/js-client/classes/AdminVariantsResource.md b/docs/content/references/js-client/classes/AdminVariantsResource.md index a805847049..190171e1c8 100644 --- a/docs/content/references/js-client/classes/AdminVariantsResource.md +++ b/docs/content/references/js-client/classes/AdminVariantsResource.md @@ -25,4 +25,4 @@ #### Defined in -[medusa-js/src/resources/admin/variants.ts:7](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/admin/variants.ts#L7) +[medusa-js/src/resources/admin/variants.ts:7](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/admin/variants.ts#L7) diff --git a/docs/content/references/js-client/classes/AuthResource.md b/docs/content/references/js-client/classes/AuthResource.md index 4591e397a0..76be7499dd 100644 --- a/docs/content/references/js-client/classes/AuthResource.md +++ b/docs/content/references/js-client/classes/AuthResource.md @@ -29,7 +29,7 @@ Authenticates a customer using email and password combination #### Defined in -[medusa-js/src/resources/auth.ts:16](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/auth.ts#L16) +[medusa-js/src/resources/auth.ts:16](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/auth.ts#L16) ___ @@ -53,7 +53,7 @@ Removes authentication session #### Defined in -[medusa-js/src/resources/auth.ts:25](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/auth.ts#L25) +[medusa-js/src/resources/auth.ts:25](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/auth.ts#L25) ___ @@ -78,7 +78,7 @@ Check if email exists #### Defined in -[medusa-js/src/resources/auth.ts:47](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/auth.ts#L47) +[medusa-js/src/resources/auth.ts:47](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/auth.ts#L47) ___ @@ -103,4 +103,4 @@ Usually used to check if authenticated session is alive. #### Defined in -[medusa-js/src/resources/auth.ts:36](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/auth.ts#L36) +[medusa-js/src/resources/auth.ts:36](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/auth.ts#L36) diff --git a/docs/content/references/js-client/classes/CartsResource.md b/docs/content/references/js-client/classes/CartsResource.md index 9f33a3ab24..bf2483413b 100644 --- a/docs/content/references/js-client/classes/CartsResource.md +++ b/docs/content/references/js-client/classes/CartsResource.md @@ -14,7 +14,7 @@ #### Defined in -[medusa-js/src/resources/carts.ts:15](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L15) +[medusa-js/src/resources/carts.ts:15](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L15) ## Methods @@ -38,7 +38,7 @@ Adds a shipping method to cart #### Defined in -[medusa-js/src/resources/carts.ts:24](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L24) +[medusa-js/src/resources/carts.ts:24](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L24) ___ @@ -65,7 +65,7 @@ If not provuided, we will generate one for the request. #### Defined in -[medusa-js/src/resources/carts.ts:43](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L43) +[medusa-js/src/resources/carts.ts:43](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L43) ___ @@ -88,7 +88,7 @@ Creates a cart #### Defined in -[medusa-js/src/resources/carts.ts:58](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L58) +[medusa-js/src/resources/carts.ts:58](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L58) ___ @@ -113,7 +113,7 @@ This is usually called when a customer proceeds to checkout. #### Defined in -[medusa-js/src/resources/carts.ts:74](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L74) +[medusa-js/src/resources/carts.ts:74](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L74) ___ @@ -137,7 +137,7 @@ Removes a discount from cart. #### Defined in -[medusa-js/src/resources/carts.ts:89](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L89) +[medusa-js/src/resources/carts.ts:89](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L89) ___ @@ -162,7 +162,7 @@ Can be useful in case a payment has failed #### Defined in -[medusa-js/src/resources/carts.ts:106](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L106) +[medusa-js/src/resources/carts.ts:106](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L106) ___ @@ -186,7 +186,7 @@ Refreshes a payment session. #### Defined in -[medusa-js/src/resources/carts.ts:122](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L122) +[medusa-js/src/resources/carts.ts:122](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L122) ___ @@ -209,7 +209,7 @@ Retrieves a cart #### Defined in -[medusa-js/src/resources/carts.ts:137](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L137) +[medusa-js/src/resources/carts.ts:137](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L137) ___ @@ -233,7 +233,7 @@ Refreshes a payment session. #### Defined in -[medusa-js/src/resources/carts.ts:152](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L152) +[medusa-js/src/resources/carts.ts:152](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L152) ___ @@ -257,7 +257,7 @@ Updates a cart #### Defined in -[medusa-js/src/resources/carts.ts:168](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L168) +[medusa-js/src/resources/carts.ts:168](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L168) ___ @@ -282,4 +282,4 @@ Updates the payment method #### Defined in -[medusa-js/src/resources/carts.ts:185](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/carts.ts#L185) +[medusa-js/src/resources/carts.ts:185](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/carts.ts#L185) diff --git a/docs/content/references/js-client/classes/CollectionsResource.md b/docs/content/references/js-client/classes/CollectionsResource.md index 79d63faf3b..934c79c669 100644 --- a/docs/content/references/js-client/classes/CollectionsResource.md +++ b/docs/content/references/js-client/classes/CollectionsResource.md @@ -29,7 +29,7 @@ Retrieves a list of collections #### Defined in -[medusa-js/src/resources/collections.ts:28](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/collections.ts#L28) +[medusa-js/src/resources/collections.ts:28](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/collections.ts#L28) ___ @@ -54,4 +54,4 @@ Retrieves a single collection #### Defined in -[medusa-js/src/resources/collections.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/collections.ts#L17) +[medusa-js/src/resources/collections.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/collections.ts#L17) diff --git a/docs/content/references/js-client/classes/CustomerResource.md b/docs/content/references/js-client/classes/CustomerResource.md index 8a4edd1a62..174c6e1a1b 100644 --- a/docs/content/references/js-client/classes/CustomerResource.md +++ b/docs/content/references/js-client/classes/CustomerResource.md @@ -14,7 +14,7 @@ #### Defined in -[medusa-js/src/resources/customers.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L18) +[medusa-js/src/resources/customers.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L18) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[medusa-js/src/resources/customers.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L17) +[medusa-js/src/resources/customers.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L17) ## Methods @@ -47,7 +47,7 @@ Creates a customer #### Defined in -[medusa-js/src/resources/customers.ts:26](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L26) +[medusa-js/src/resources/customers.ts:26](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L26) ___ @@ -71,7 +71,7 @@ The token is not returned but should be sent out to the customer in an email. #### Defined in -[medusa-js/src/resources/customers.ts:101](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L101) +[medusa-js/src/resources/customers.ts:101](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L101) ___ @@ -94,7 +94,7 @@ Retrieve customer orders #### Defined in -[medusa-js/src/resources/customers.ts:66](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L66) +[medusa-js/src/resources/customers.ts:66](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L66) ___ @@ -117,7 +117,7 @@ Resets customer password #### Defined in -[medusa-js/src/resources/customers.ts:86](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L86) +[medusa-js/src/resources/customers.ts:86](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L86) ___ @@ -139,7 +139,7 @@ Retrieves the customer that is currently logged #### Defined in -[medusa-js/src/resources/customers.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L39) +[medusa-js/src/resources/customers.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L39) ___ @@ -162,4 +162,4 @@ Updates a customer #### Defined in -[medusa-js/src/resources/customers.ts:52](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/customers.ts#L52) +[medusa-js/src/resources/customers.ts:52](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/customers.ts#L52) diff --git a/docs/content/references/js-client/classes/GiftCardsResource.md b/docs/content/references/js-client/classes/GiftCardsResource.md index b740c6bf74..b70aa3b603 100644 --- a/docs/content/references/js-client/classes/GiftCardsResource.md +++ b/docs/content/references/js-client/classes/GiftCardsResource.md @@ -29,4 +29,4 @@ Retrieves a single GiftCard #### Defined in -[medusa-js/src/resources/gift-cards.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/gift-cards.ts#L12) +[medusa-js/src/resources/gift-cards.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/gift-cards.ts#L12) diff --git a/docs/content/references/js-client/classes/LineItemsResource.md b/docs/content/references/js-client/classes/LineItemsResource.md index e330ffea2b..c3f6c215f9 100644 --- a/docs/content/references/js-client/classes/LineItemsResource.md +++ b/docs/content/references/js-client/classes/LineItemsResource.md @@ -28,7 +28,7 @@ Creates a line-item for a cart #### Defined in -[medusa-js/src/resources/line-items.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/line-items.ts#L17) +[medusa-js/src/resources/line-items.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/line-items.ts#L17) ___ @@ -52,7 +52,7 @@ Remove a line-item from a cart #### Defined in -[medusa-js/src/resources/line-items.ts:50](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/line-items.ts#L50) +[medusa-js/src/resources/line-items.ts:50](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/line-items.ts#L50) ___ @@ -78,4 +78,4 @@ Only quantity updates are allowed #### Defined in -[medusa-js/src/resources/line-items.ts:34](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/line-items.ts#L34) +[medusa-js/src/resources/line-items.ts:34](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/line-items.ts#L34) diff --git a/docs/content/references/js-client/classes/OrderEditsResource.md b/docs/content/references/js-client/classes/OrderEditsResource.md index c99b1f7d5c..f16b675e95 100644 --- a/docs/content/references/js-client/classes/OrderEditsResource.md +++ b/docs/content/references/js-client/classes/OrderEditsResource.md @@ -25,7 +25,7 @@ #### Defined in -[medusa-js/src/resources/order-edits.ts:26](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/order-edits.ts#L26) +[medusa-js/src/resources/order-edits.ts:26](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/order-edits.ts#L26) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[medusa-js/src/resources/order-edits.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/order-edits.ts#L17) +[medusa-js/src/resources/order-edits.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/order-edits.ts#L17) ___ @@ -68,4 +68,4 @@ ___ #### Defined in -[medusa-js/src/resources/order-edits.ts:9](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/order-edits.ts#L9) +[medusa-js/src/resources/order-edits.ts:9](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/order-edits.ts#L9) diff --git a/docs/content/references/js-client/classes/OrdersResource.md b/docs/content/references/js-client/classes/OrdersResource.md index fce6ada0b8..fa5544275e 100644 --- a/docs/content/references/js-client/classes/OrdersResource.md +++ b/docs/content/references/js-client/classes/OrdersResource.md @@ -29,7 +29,7 @@ Look up an order using order details #### Defined in -[medusa-js/src/resources/orders.ts:41](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/orders.ts#L41) +[medusa-js/src/resources/orders.ts:41](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/orders.ts#L41) ___ @@ -54,7 +54,7 @@ Retrieves an order #### Defined in -[medusa-js/src/resources/orders.ts:13](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/orders.ts#L13) +[medusa-js/src/resources/orders.ts:13](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/orders.ts#L13) ___ @@ -79,4 +79,4 @@ Retrieves an order by cart id #### Defined in -[medusa-js/src/resources/orders.ts:27](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/orders.ts#L27) +[medusa-js/src/resources/orders.ts:27](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/orders.ts#L27) diff --git a/docs/content/references/js-client/classes/PaymentMethodsResource.md b/docs/content/references/js-client/classes/PaymentMethodsResource.md index f561df32a3..9edeabe837 100644 --- a/docs/content/references/js-client/classes/PaymentMethodsResource.md +++ b/docs/content/references/js-client/classes/PaymentMethodsResource.md @@ -26,4 +26,4 @@ Lists customer payment methods #### Defined in -[medusa-js/src/resources/payment-methods.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/payment-methods.ts#L12) +[medusa-js/src/resources/payment-methods.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/payment-methods.ts#L12) diff --git a/docs/content/references/js-client/classes/ProductVariantsResource.md b/docs/content/references/js-client/classes/ProductVariantsResource.md index 9758a42e5d..52f6544300 100644 --- a/docs/content/references/js-client/classes/ProductVariantsResource.md +++ b/docs/content/references/js-client/classes/ProductVariantsResource.md @@ -29,7 +29,7 @@ Retrieves a list of of Product Variants #### Defined in -[medusa-js/src/resources/product-variants.ts:28](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/product-variants.ts#L28) +[medusa-js/src/resources/product-variants.ts:28](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/product-variants.ts#L28) ___ @@ -54,4 +54,4 @@ Retrieves a single product variant #### Defined in -[medusa-js/src/resources/product-variants.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/product-variants.ts#L17) +[medusa-js/src/resources/product-variants.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/product-variants.ts#L17) diff --git a/docs/content/references/js-client/classes/ProductsResource.md b/docs/content/references/js-client/classes/ProductsResource.md index 59fae3140b..af45b533ed 100644 --- a/docs/content/references/js-client/classes/ProductsResource.md +++ b/docs/content/references/js-client/classes/ProductsResource.md @@ -14,7 +14,7 @@ #### Defined in -[medusa-js/src/resources/products.ts:14](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/products.ts#L14) +[medusa-js/src/resources/products.ts:14](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/products.ts#L14) ## Methods @@ -39,7 +39,7 @@ Retrieves a list of products #### Defined in -[medusa-js/src/resources/products.ts:50](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/products.ts#L50) +[medusa-js/src/resources/products.ts:50](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/products.ts#L50) ___ @@ -64,7 +64,7 @@ Retrieves a single Product #### Defined in -[medusa-js/src/resources/products.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/products.ts#L22) +[medusa-js/src/resources/products.ts:22](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/products.ts#L22) ___ @@ -89,4 +89,4 @@ Searches for products #### Defined in -[medusa-js/src/resources/products.ts:36](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/products.ts#L36) +[medusa-js/src/resources/products.ts:36](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/products.ts#L36) diff --git a/docs/content/references/js-client/classes/RegionsResource.md b/docs/content/references/js-client/classes/RegionsResource.md index ba3e720491..af91e3cbda 100644 --- a/docs/content/references/js-client/classes/RegionsResource.md +++ b/docs/content/references/js-client/classes/RegionsResource.md @@ -28,7 +28,7 @@ Retrieves a list of regions #### Defined in -[medusa-js/src/resources/regions.ts:11](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/regions.ts#L11) +[medusa-js/src/resources/regions.ts:11](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/regions.ts#L11) ___ @@ -53,4 +53,4 @@ Retrieves a region #### Defined in -[medusa-js/src/resources/regions.ts:22](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/regions.ts#L22) +[medusa-js/src/resources/regions.ts:22](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/regions.ts#L22) diff --git a/docs/content/references/js-client/classes/ReturnReasonsResource.md b/docs/content/references/js-client/classes/ReturnReasonsResource.md index d9bafc7a36..5941856c46 100644 --- a/docs/content/references/js-client/classes/ReturnReasonsResource.md +++ b/docs/content/references/js-client/classes/ReturnReasonsResource.md @@ -26,7 +26,7 @@ Lists return reasons defined in Medusa Admin #### Defined in -[medusa-js/src/resources/return-reasons.ts:25](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/return-reasons.ts#L25) +[medusa-js/src/resources/return-reasons.ts:25](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/return-reasons.ts#L25) ___ @@ -51,4 +51,4 @@ Retrieves a single Return Reason #### Defined in -[medusa-js/src/resources/return-reasons.ts:15](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/return-reasons.ts#L15) +[medusa-js/src/resources/return-reasons.ts:15](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/return-reasons.ts#L15) diff --git a/docs/content/references/js-client/classes/ReturnsResource.md b/docs/content/references/js-client/classes/ReturnsResource.md index 1ccd6ac2e9..d952d40662 100644 --- a/docs/content/references/js-client/classes/ReturnsResource.md +++ b/docs/content/references/js-client/classes/ReturnsResource.md @@ -27,4 +27,4 @@ Creates a return request #### Defined in -[medusa-js/src/resources/returns.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/returns.ts#L12) +[medusa-js/src/resources/returns.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/returns.ts#L12) diff --git a/docs/content/references/js-client/classes/ShippingOptionsResource.md b/docs/content/references/js-client/classes/ShippingOptionsResource.md index 34488ef256..87ad413fef 100644 --- a/docs/content/references/js-client/classes/ShippingOptionsResource.md +++ b/docs/content/references/js-client/classes/ShippingOptionsResource.md @@ -29,7 +29,7 @@ Lists shiping options available #### Defined in -[medusa-js/src/resources/shipping-options.ts:27](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/shipping-options.ts#L27) +[medusa-js/src/resources/shipping-options.ts:27](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/shipping-options.ts#L27) ___ @@ -54,4 +54,4 @@ Lists shiping options available for a cart #### Defined in -[medusa-js/src/resources/shipping-options.ts:16](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/shipping-options.ts#L16) +[medusa-js/src/resources/shipping-options.ts:16](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/shipping-options.ts#L16) diff --git a/docs/content/references/js-client/classes/SwapsResource.md b/docs/content/references/js-client/classes/SwapsResource.md index ecebed1337..fc2fc764ac 100644 --- a/docs/content/references/js-client/classes/SwapsResource.md +++ b/docs/content/references/js-client/classes/SwapsResource.md @@ -29,7 +29,7 @@ Creates a swap from a cart #### Defined in -[medusa-js/src/resources/swaps.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/swaps.ts#L12) +[medusa-js/src/resources/swaps.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/swaps.ts#L12) ___ @@ -54,4 +54,4 @@ Retrieves a swap by cart id #### Defined in -[medusa-js/src/resources/swaps.ts:23](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/resources/swaps.ts#L23) +[medusa-js/src/resources/swaps.ts:23](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/resources/swaps.ts#L23) diff --git a/docs/content/references/js-client/classes/internal-13.GetOrderEditsOrderEditParams.md b/docs/content/references/js-client/classes/internal-13.GetOrderEditsOrderEditParams.md new file mode 100644 index 0000000000..03a656d03d --- /dev/null +++ b/docs/content/references/js-client/classes/internal-13.GetOrderEditsOrderEditParams.md @@ -0,0 +1,37 @@ +# Class: GetOrderEditsOrderEditParams + +[internal](../modules/internal-13.md).GetOrderEditsOrderEditParams + +## Hierarchy + +- [`FindParams`](internal-5.FindParams.md) + + ↳ **`GetOrderEditsOrderEditParams`** + +## Properties + +### expand + +• `Optional` **expand**: `string` + +#### Inherited from + +[FindParams](internal-5.FindParams.md).[expand](internal-5.FindParams.md#expand) + +#### Defined in + +medusa/dist/types/common.d.ts:117 + +___ + +### fields + +• `Optional` **fields**: `string` + +#### Inherited from + +[FindParams](internal-5.FindParams.md).[fields](internal-5.FindParams.md#fields) + +#### Defined in + +medusa/dist/types/common.d.ts:118 diff --git a/docs/content/references/js-client/classes/internal-13.GetOrderEditsParams.md b/docs/content/references/js-client/classes/internal-13.GetOrderEditsParams.md new file mode 100644 index 0000000000..8e88239a64 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-13.GetOrderEditsParams.md @@ -0,0 +1,85 @@ +# Class: GetOrderEditsParams + +[internal](../modules/internal-13.md).GetOrderEditsParams + +## Hierarchy + +- [`GetOrderEditsParams_base`](../modules/internal-13.md#getordereditsparams_base) + + ↳ **`GetOrderEditsParams`** + +## Properties + +### expand + +• `Optional` **expand**: `string` + +#### Inherited from + +GetOrderEditsParams\_base.expand + +#### Defined in + +medusa/dist/types/common.d.ts:117 + +___ + +### fields + +• `Optional` **fields**: `string` + +#### Inherited from + +GetOrderEditsParams\_base.fields + +#### Defined in + +medusa/dist/types/common.d.ts:118 + +___ + +### limit + +• `Optional` **limit**: `number` + +#### Inherited from + +GetOrderEditsParams\_base.limit + +#### Defined in + +medusa/dist/types/common.d.ts:122 + +___ + +### offset + +• `Optional` **offset**: `number` + +#### Inherited from + +GetOrderEditsParams\_base.offset + +#### Defined in + +medusa/dist/types/common.d.ts:121 + +___ + +### order\_id + +• `Optional` **order\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/order-edits/list-order-edit.d.ts:64 + +___ + +### q + +• `Optional` **q**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/order-edits/list-order-edit.d.ts:63 diff --git a/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsPaginationParams.md b/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsPaginationParams.md index 962d4440c0..9e4156f6b7 100644 --- a/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsPaginationParams.md +++ b/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsPaginationParams.md @@ -16,7 +16,7 @@ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:130 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:132 ___ @@ -26,4 +26,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:131 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:133 diff --git a/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsParams.md b/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsParams.md index 8accaea227..c647400c4a 100644 --- a/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsParams.md +++ b/docs/content/references/js-client/classes/internal-16.AdminGetProductTagsParams.md @@ -16,7 +16,17 @@ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:137 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:139 + +___ + +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:142 ___ @@ -26,7 +36,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:134 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:136 ___ @@ -40,7 +50,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:130 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:132 ___ @@ -54,7 +64,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:131 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:133 ___ @@ -64,7 +74,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:139 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:141 ___ @@ -74,7 +84,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:135 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:137 ___ @@ -84,7 +94,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:138 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:140 ___ @@ -94,4 +104,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:136 +medusa/dist/api/routes/admin/product-tags/list-product-tags.d.ts:138 diff --git a/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesPaginationParams.md b/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesPaginationParams.md index c6cd1ddc03..cfc0b49b02 100644 --- a/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesPaginationParams.md +++ b/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesPaginationParams.md @@ -16,7 +16,7 @@ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:130 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:131 ___ @@ -26,4 +26,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:131 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:132 diff --git a/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesParams.md b/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesParams.md index e6654266c9..419c09d0a8 100644 --- a/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesParams.md +++ b/docs/content/references/js-client/classes/internal-17.AdminGetProductTypesParams.md @@ -16,7 +16,17 @@ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:137 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:138 + +___ + +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:141 ___ @@ -26,7 +36,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:134 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:135 ___ @@ -40,7 +50,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:130 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:131 ___ @@ -54,7 +64,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:131 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:132 ___ @@ -64,7 +74,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:139 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:140 ___ @@ -74,7 +84,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:135 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:136 ___ @@ -84,7 +94,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:138 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:139 ___ @@ -94,4 +104,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:136 +medusa/dist/api/routes/admin/product-types/list-product-types.d.ts:137 diff --git a/docs/content/references/js-client/classes/internal-18.AdminGetProductsParams.md b/docs/content/references/js-client/classes/internal-18.AdminGetProductsParams.md index 6b7924ddf6..45003bdec4 100644 --- a/docs/content/references/js-client/classes/internal-18.AdminGetProductsParams.md +++ b/docs/content/references/js-client/classes/internal-18.AdminGetProductsParams.md @@ -22,7 +22,7 @@ API Level DTOs + Validation rules #### Defined in -medusa/dist/types/product.d.ts:12 +medusa/dist/types/product.d.ts:13 ___ @@ -36,7 +36,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:20 +medusa/dist/types/product.d.ts:22 ___ @@ -50,7 +50,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:22 +medusa/dist/types/product.d.ts:24 ___ @@ -64,7 +64,21 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:15 +medusa/dist/types/product.d.ts:16 + +___ + +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Inherited from + +[FilterableProductProps](internal-18.FilterableProductProps.md).[discount_condition_id](internal-18.FilterableProductProps.md#discount_condition_id) + +#### Defined in + +medusa/dist/types/product.d.ts:21 ___ @@ -74,7 +88,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/products/list-products.d.ts:203 +medusa/dist/api/routes/admin/products/list-products.d.ts:212 ___ @@ -84,7 +98,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/products/list-products.d.ts:204 +medusa/dist/api/routes/admin/products/list-products.d.ts:213 ___ @@ -98,7 +112,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:16 +medusa/dist/types/product.d.ts:17 ___ @@ -112,7 +126,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:8 +medusa/dist/types/product.d.ts:9 ___ @@ -126,7 +140,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:17 +medusa/dist/types/product.d.ts:18 ___ @@ -136,7 +150,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/products/list-products.d.ts:202 +medusa/dist/api/routes/admin/products/list-products.d.ts:211 ___ @@ -146,7 +160,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/products/list-products.d.ts:201 +medusa/dist/api/routes/admin/products/list-products.d.ts:210 ___ @@ -160,7 +174,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:11 +medusa/dist/types/product.d.ts:12 ___ @@ -174,7 +188,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:9 +medusa/dist/types/product.d.ts:10 ___ @@ -188,7 +202,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:19 +medusa/dist/types/product.d.ts:20 ___ @@ -202,7 +216,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:10 +medusa/dist/types/product.d.ts:11 ___ @@ -216,7 +230,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:13 +medusa/dist/types/product.d.ts:14 ___ @@ -230,21 +244,21 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:14 +medusa/dist/types/product.d.ts:15 ___ -### type +### type\_id -• `Optional` **type**: `string` +• `Optional` **type\_id**: `string`[] #### Inherited from -[FilterableProductProps](internal-18.FilterableProductProps.md).[type](internal-18.FilterableProductProps.md#type) +[FilterableProductProps](internal-18.FilterableProductProps.md).[type_id](internal-18.FilterableProductProps.md#type_id) #### Defined in -medusa/dist/types/product.d.ts:18 +medusa/dist/types/product.d.ts:19 ___ @@ -258,4 +272,4 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:21 +medusa/dist/types/product.d.ts:23 diff --git a/docs/content/references/js-client/classes/internal-18.FilterableProductProps.md b/docs/content/references/js-client/classes/internal-18.FilterableProductProps.md index 61bbc60f87..0ad6cd1caa 100644 --- a/docs/content/references/js-client/classes/internal-18.FilterableProductProps.md +++ b/docs/content/references/js-client/classes/internal-18.FilterableProductProps.md @@ -18,7 +18,7 @@ API Level DTOs + Validation rules #### Defined in -medusa/dist/types/product.d.ts:12 +medusa/dist/types/product.d.ts:13 ___ @@ -28,7 +28,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:20 +medusa/dist/types/product.d.ts:22 ___ @@ -38,7 +38,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:22 +medusa/dist/types/product.d.ts:24 ___ @@ -48,7 +48,17 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:15 +medusa/dist/types/product.d.ts:16 + +___ + +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Defined in + +medusa/dist/types/product.d.ts:21 ___ @@ -58,7 +68,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:16 +medusa/dist/types/product.d.ts:17 ___ @@ -68,7 +78,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:8 +medusa/dist/types/product.d.ts:9 ___ @@ -78,7 +88,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:17 +medusa/dist/types/product.d.ts:18 ___ @@ -88,7 +98,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:11 +medusa/dist/types/product.d.ts:12 ___ @@ -98,7 +108,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:9 +medusa/dist/types/product.d.ts:10 ___ @@ -108,7 +118,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:19 +medusa/dist/types/product.d.ts:20 ___ @@ -118,7 +128,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:10 +medusa/dist/types/product.d.ts:11 ___ @@ -128,7 +138,7 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:13 +medusa/dist/types/product.d.ts:14 ___ @@ -138,17 +148,17 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:14 +medusa/dist/types/product.d.ts:15 ___ -### type +### type\_id -• `Optional` **type**: `string` +• `Optional` **type\_id**: `string`[] #### Defined in -medusa/dist/types/product.d.ts:18 +medusa/dist/types/product.d.ts:19 ___ @@ -158,4 +168,4 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:21 +medusa/dist/types/product.d.ts:23 diff --git a/docs/content/references/js-client/classes/internal-18.ProductSalesChannelReq.md b/docs/content/references/js-client/classes/internal-18.ProductSalesChannelReq.md index f1fa09c67a..1938ac6b46 100644 --- a/docs/content/references/js-client/classes/internal-18.ProductSalesChannelReq.md +++ b/docs/content/references/js-client/classes/internal-18.ProductSalesChannelReq.md @@ -10,4 +10,4 @@ #### Defined in -medusa/dist/types/product.d.ts:146 +medusa/dist/types/product.d.ts:140 diff --git a/docs/content/references/js-client/classes/internal-18.ProductTagReq.md b/docs/content/references/js-client/classes/internal-18.ProductTagReq.md index 54e731de4b..fbf3779c08 100644 --- a/docs/content/references/js-client/classes/internal-18.ProductTagReq.md +++ b/docs/content/references/js-client/classes/internal-18.ProductTagReq.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/types/product.d.ts:149 +medusa/dist/types/product.d.ts:143 ___ @@ -20,4 +20,4 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:150 +medusa/dist/types/product.d.ts:144 diff --git a/docs/content/references/js-client/classes/internal-18.ProductTypeReq.md b/docs/content/references/js-client/classes/internal-18.ProductTypeReq.md index d97b3cd433..35b97c6a15 100644 --- a/docs/content/references/js-client/classes/internal-18.ProductTypeReq.md +++ b/docs/content/references/js-client/classes/internal-18.ProductTypeReq.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/types/product.d.ts:153 +medusa/dist/types/product.d.ts:147 ___ @@ -20,4 +20,4 @@ ___ #### Defined in -medusa/dist/types/product.d.ts:154 +medusa/dist/types/product.d.ts:148 diff --git a/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsPaginationParams.md b/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsPaginationParams.md index 3c43a5dd71..cd1c618f3b 100644 --- a/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsPaginationParams.md +++ b/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsPaginationParams.md @@ -16,7 +16,7 @@ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:138 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:139 ___ @@ -26,4 +26,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:139 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:140 diff --git a/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsParams.md b/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsParams.md index 8eef8b710d..46ccef6865 100644 --- a/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsParams.md +++ b/docs/content/references/js-client/classes/internal-3.AdminGetCollectionsParams.md @@ -16,7 +16,7 @@ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:144 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:145 ___ @@ -26,7 +26,17 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:146 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:147 + +___ + +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/collections/list-collections.d.ts:149 ___ @@ -36,7 +46,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:143 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:144 ___ @@ -50,7 +60,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:138 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:139 ___ @@ -64,7 +74,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:139 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:140 ___ @@ -74,7 +84,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:147 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:148 ___ @@ -84,7 +94,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:142 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:143 ___ @@ -94,4 +104,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/collections/list-collections.d.ts:145 +medusa/dist/api/routes/admin/collections/list-collections.d.ts:146 diff --git a/docs/content/references/js-client/classes/internal-30.AdminGetVariantsParams.md b/docs/content/references/js-client/classes/internal-30.AdminGetVariantsParams.md index deef731e47..bf3cad478a 100644 --- a/docs/content/references/js-client/classes/internal-30.AdminGetVariantsParams.md +++ b/docs/content/references/js-client/classes/internal-30.AdminGetVariantsParams.md @@ -2,15 +2,103 @@ [internal](../modules/internal-30.md).AdminGetVariantsParams +## Hierarchy + +- [`AdminPriceSelectionParams`](internal-30.AdminPriceSelectionParams.md) + + ↳ **`AdminGetVariantsParams`** + ## Properties +### cart\_id + +• `Optional` **cart\_id**: `string` + +#### Inherited from + +[AdminPriceSelectionParams](internal-30.AdminPriceSelectionParams.md).[cart_id](internal-30.AdminPriceSelectionParams.md#cart_id) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:2 + +___ + +### currency\_code + +• `Optional` **currency\_code**: `string` + +#### Inherited from + +[AdminPriceSelectionParams](internal-30.AdminPriceSelectionParams.md).[currency_code](internal-30.AdminPriceSelectionParams.md#currency_code) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:4 + +___ + +### customer\_id + +• `Optional` **customer\_id**: `string` + +#### Inherited from + +[AdminPriceSelectionParams](internal-30.AdminPriceSelectionParams.md).[customer_id](internal-30.AdminPriceSelectionParams.md#customer_id) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:7 + +___ + +### expand + +• `Optional` **expand**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/variants/list-variants.d.ts:115 + +___ + +### fields + +• `Optional` **fields**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/variants/list-variants.d.ts:116 + +___ + +### id + +• `Optional` **id**: `string` \| `string`[] + +#### Defined in + +medusa/dist/api/routes/admin/variants/list-variants.d.ts:117 + +___ + +### inventory\_quantity + +• `Optional` **inventory\_quantity**: `number` \| [`NumericalComparisonOperator`](internal-27.NumericalComparisonOperator.md) + +#### Defined in + +medusa/dist/api/routes/admin/variants/list-variants.d.ts:119 + +___ + ### limit • `Optional` **limit**: `number` #### Defined in -medusa/dist/api/routes/admin/variants/list-variants.d.ts:69 +medusa/dist/api/routes/admin/variants/list-variants.d.ts:113 ___ @@ -20,7 +108,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/variants/list-variants.d.ts:70 +medusa/dist/api/routes/admin/variants/list-variants.d.ts:114 ___ @@ -30,4 +118,28 @@ ___ #### Defined in -medusa/dist/api/routes/admin/variants/list-variants.d.ts:68 +medusa/dist/api/routes/admin/variants/list-variants.d.ts:112 + +___ + +### region\_id + +• `Optional` **region\_id**: `string` + +#### Inherited from + +[AdminPriceSelectionParams](internal-30.AdminPriceSelectionParams.md).[region_id](internal-30.AdminPriceSelectionParams.md#region_id) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:3 + +___ + +### title + +• `Optional` **title**: `string` \| `string`[] + +#### Defined in + +medusa/dist/api/routes/admin/variants/list-variants.d.ts:118 diff --git a/docs/content/references/js-client/classes/internal-30.AdminPriceSelectionParams.md b/docs/content/references/js-client/classes/internal-30.AdminPriceSelectionParams.md new file mode 100644 index 0000000000..808b9b6632 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-30.AdminPriceSelectionParams.md @@ -0,0 +1,63 @@ +# Class: AdminPriceSelectionParams + +[internal](../modules/internal-30.md).AdminPriceSelectionParams + +## Hierarchy + +- [`PriceSelectionParams`](internal-30.PriceSelectionParams.md) + + ↳ **`AdminPriceSelectionParams`** + + ↳↳ [`AdminGetVariantsParams`](internal-30.AdminGetVariantsParams.md) + +## Properties + +### cart\_id + +• `Optional` **cart\_id**: `string` + +#### Inherited from + +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[cart_id](internal-30.PriceSelectionParams.md#cart_id) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:2 + +___ + +### currency\_code + +• `Optional` **currency\_code**: `string` + +#### Inherited from + +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[currency_code](internal-30.PriceSelectionParams.md#currency_code) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:4 + +___ + +### customer\_id + +• `Optional` **customer\_id**: `string` + +#### Defined in + +medusa/dist/types/price-selection.d.ts:7 + +___ + +### region\_id + +• `Optional` **region\_id**: `string` + +#### Inherited from + +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[region_id](internal-30.PriceSelectionParams.md#region_id) + +#### Defined in + +medusa/dist/types/price-selection.d.ts:3 diff --git a/docs/content/references/js-client/classes/internal-40.PriceSelectionParams.md b/docs/content/references/js-client/classes/internal-30.PriceSelectionParams.md similarity index 81% rename from docs/content/references/js-client/classes/internal-40.PriceSelectionParams.md rename to docs/content/references/js-client/classes/internal-30.PriceSelectionParams.md index bd4ae2aa04..0c0e674491 100644 --- a/docs/content/references/js-client/classes/internal-40.PriceSelectionParams.md +++ b/docs/content/references/js-client/classes/internal-30.PriceSelectionParams.md @@ -1,11 +1,13 @@ # Class: PriceSelectionParams -[internal](../modules/internal-40.md).PriceSelectionParams +[internal](../modules/internal-30.md).PriceSelectionParams ## Hierarchy - **`PriceSelectionParams`** + ↳ [`AdminPriceSelectionParams`](internal-30.AdminPriceSelectionParams.md) + ↳ [`StoreGetVariantsParams`](internal-40.StoreGetVariantsParams.md) ↳ [`StoreGetProductsPaginationParams`](internal-41.StoreGetProductsPaginationParams.md) diff --git a/docs/content/references/js-client/classes/internal-33.StoreGetCollectionsParams.md b/docs/content/references/js-client/classes/internal-33.StoreGetCollectionsParams.md index 146d22e05b..79739bf37b 100644 --- a/docs/content/references/js-client/classes/internal-33.StoreGetCollectionsParams.md +++ b/docs/content/references/js-client/classes/internal-33.StoreGetCollectionsParams.md @@ -10,7 +10,17 @@ #### Defined in -medusa/dist/api/routes/store/collections/list-collections.d.ts:106 +medusa/dist/api/routes/store/collections/list-collections.d.ts:107 + +___ + +### handle + +• `Optional` **handle**: `string`[] + +#### Defined in + +medusa/dist/api/routes/store/collections/list-collections.d.ts:104 ___ @@ -20,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/collections/list-collections.d.ts:104 +medusa/dist/api/routes/store/collections/list-collections.d.ts:105 ___ @@ -30,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/collections/list-collections.d.ts:105 +medusa/dist/api/routes/store/collections/list-collections.d.ts:106 ___ @@ -40,4 +50,4 @@ ___ #### Defined in -medusa/dist/api/routes/store/collections/list-collections.d.ts:107 +medusa/dist/api/routes/store/collections/list-collections.d.ts:108 diff --git a/docs/content/references/js-client/classes/internal-40.StoreGetVariantsParams.md b/docs/content/references/js-client/classes/internal-40.StoreGetVariantsParams.md index cb9d1f357e..f3ba49f8ba 100644 --- a/docs/content/references/js-client/classes/internal-40.StoreGetVariantsParams.md +++ b/docs/content/references/js-client/classes/internal-40.StoreGetVariantsParams.md @@ -4,7 +4,7 @@ ## Hierarchy -- [`PriceSelectionParams`](internal-40.PriceSelectionParams.md) +- [`PriceSelectionParams`](internal-30.PriceSelectionParams.md) ↳ **`StoreGetVariantsParams`** @@ -16,7 +16,7 @@ #### Inherited from -[PriceSelectionParams](internal-40.PriceSelectionParams.md).[cart_id](internal-40.PriceSelectionParams.md#cart_id) +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[cart_id](internal-30.PriceSelectionParams.md#cart_id) #### Defined in @@ -30,7 +30,7 @@ ___ #### Inherited from -[PriceSelectionParams](internal-40.PriceSelectionParams.md).[currency_code](internal-40.PriceSelectionParams.md#currency_code) +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[currency_code](internal-30.PriceSelectionParams.md#currency_code) #### Defined in @@ -44,7 +44,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:82 +medusa/dist/api/routes/store/variants/list-variants.d.ts:84 ___ @@ -54,7 +54,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:84 +medusa/dist/api/routes/store/variants/list-variants.d.ts:86 ___ @@ -64,7 +64,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:83 +medusa/dist/api/routes/store/variants/list-variants.d.ts:85 ___ @@ -74,7 +74,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:86 +medusa/dist/api/routes/store/variants/list-variants.d.ts:88 ___ @@ -84,7 +84,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:80 +medusa/dist/api/routes/store/variants/list-variants.d.ts:82 ___ @@ -94,7 +94,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:81 +medusa/dist/api/routes/store/variants/list-variants.d.ts:83 ___ @@ -104,7 +104,7 @@ ___ #### Inherited from -[PriceSelectionParams](internal-40.PriceSelectionParams.md).[region_id](internal-40.PriceSelectionParams.md#region_id) +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[region_id](internal-30.PriceSelectionParams.md#region_id) #### Defined in @@ -118,4 +118,4 @@ ___ #### Defined in -medusa/dist/api/routes/store/variants/list-variants.d.ts:85 +medusa/dist/api/routes/store/variants/list-variants.d.ts:87 diff --git a/docs/content/references/js-client/classes/internal-41.StoreGetProductsPaginationParams.md b/docs/content/references/js-client/classes/internal-41.StoreGetProductsPaginationParams.md index aa6f8e97e2..da6a459dd6 100644 --- a/docs/content/references/js-client/classes/internal-41.StoreGetProductsPaginationParams.md +++ b/docs/content/references/js-client/classes/internal-41.StoreGetProductsPaginationParams.md @@ -4,7 +4,7 @@ ## Hierarchy -- [`PriceSelectionParams`](internal-40.PriceSelectionParams.md) +- [`PriceSelectionParams`](internal-30.PriceSelectionParams.md) ↳ **`StoreGetProductsPaginationParams`** @@ -18,7 +18,7 @@ #### Inherited from -[PriceSelectionParams](internal-40.PriceSelectionParams.md).[cart_id](internal-40.PriceSelectionParams.md#cart_id) +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[cart_id](internal-30.PriceSelectionParams.md#cart_id) #### Defined in @@ -32,7 +32,7 @@ ___ #### Inherited from -[PriceSelectionParams](internal-40.PriceSelectionParams.md).[currency_code](internal-40.PriceSelectionParams.md#currency_code) +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[currency_code](internal-30.PriceSelectionParams.md#currency_code) #### Defined in @@ -46,7 +46,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:143 +medusa/dist/api/routes/store/products/list-products.d.ts:160 ___ @@ -56,7 +56,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:142 +medusa/dist/api/routes/store/products/list-products.d.ts:159 ___ @@ -66,7 +66,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:145 +medusa/dist/api/routes/store/products/list-products.d.ts:162 ___ @@ -76,7 +76,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:144 +medusa/dist/api/routes/store/products/list-products.d.ts:161 ___ @@ -86,7 +86,7 @@ ___ #### Inherited from -[PriceSelectionParams](internal-40.PriceSelectionParams.md).[region_id](internal-40.PriceSelectionParams.md#region_id) +[PriceSelectionParams](internal-30.PriceSelectionParams.md).[region_id](internal-30.PriceSelectionParams.md#region_id) #### Defined in diff --git a/docs/content/references/js-client/classes/internal-41.StoreGetProductsParams.md b/docs/content/references/js-client/classes/internal-41.StoreGetProductsParams.md index 3e9d1f7f70..1314e3d50f 100644 --- a/docs/content/references/js-client/classes/internal-41.StoreGetProductsParams.md +++ b/docs/content/references/js-client/classes/internal-41.StoreGetProductsParams.md @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:150 +medusa/dist/api/routes/store/products/list-products.d.ts:167 ___ @@ -40,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:158 +medusa/dist/api/routes/store/products/list-products.d.ts:175 ___ @@ -64,7 +64,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:153 +medusa/dist/api/routes/store/products/list-products.d.ts:170 ___ @@ -78,7 +78,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:143 +medusa/dist/api/routes/store/products/list-products.d.ts:160 ___ @@ -92,7 +92,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:142 +medusa/dist/api/routes/store/products/list-products.d.ts:159 ___ @@ -102,7 +102,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:154 +medusa/dist/api/routes/store/products/list-products.d.ts:171 ___ @@ -112,7 +112,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:148 +medusa/dist/api/routes/store/products/list-products.d.ts:165 ___ @@ -122,7 +122,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:155 +medusa/dist/api/routes/store/products/list-products.d.ts:172 ___ @@ -136,7 +136,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:145 +medusa/dist/api/routes/store/products/list-products.d.ts:162 ___ @@ -150,7 +150,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:144 +medusa/dist/api/routes/store/products/list-products.d.ts:161 ___ @@ -160,7 +160,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:149 +medusa/dist/api/routes/store/products/list-products.d.ts:166 ___ @@ -184,7 +184,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:157 +medusa/dist/api/routes/store/products/list-products.d.ts:174 ___ @@ -194,7 +194,7 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:151 +medusa/dist/api/routes/store/products/list-products.d.ts:168 ___ @@ -204,17 +204,17 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:152 +medusa/dist/api/routes/store/products/list-products.d.ts:169 ___ -### type +### type\_id -• `Optional` **type**: `string` +• `Optional` **type\_id**: `string`[] #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:156 +medusa/dist/api/routes/store/products/list-products.d.ts:173 ___ @@ -224,4 +224,4 @@ ___ #### Defined in -medusa/dist/api/routes/store/products/list-products.d.ts:159 +medusa/dist/api/routes/store/products/list-products.d.ts:176 diff --git a/docs/content/references/js-client/classes/internal-5.AdminGetCustomerGroupsParams.md b/docs/content/references/js-client/classes/internal-5.AdminGetCustomerGroupsParams.md index f0a4eed949..0e937c703e 100644 --- a/docs/content/references/js-client/classes/internal-5.AdminGetCustomerGroupsParams.md +++ b/docs/content/references/js-client/classes/internal-5.AdminGetCustomerGroupsParams.md @@ -24,13 +24,27 @@ medusa/dist/types/customer-groups.d.ts:7 ___ +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Inherited from + +[FilterableCustomerGroupProps](internal-5.FilterableCustomerGroupProps.md).[discount_condition_id](internal-5.FilterableCustomerGroupProps.md#discount_condition_id) + +#### Defined in + +medusa/dist/types/customer-groups.d.ts:8 + +___ + ### expand • `Optional` **expand**: `string` #### Defined in -medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:157 +medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:158 ___ @@ -54,7 +68,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:156 +medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:157 ___ @@ -78,7 +92,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:155 +medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:156 ___ @@ -88,7 +102,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:154 +medusa/dist/api/routes/admin/customer-groups/list-customer-groups.d.ts:155 ___ diff --git a/docs/content/references/js-client/classes/internal-5.CustomerGroupsBatchCustomer.md b/docs/content/references/js-client/classes/internal-5.CustomerGroupsBatchCustomer.md index 23c70f4e73..c8d064638e 100644 --- a/docs/content/references/js-client/classes/internal-5.CustomerGroupsBatchCustomer.md +++ b/docs/content/references/js-client/classes/internal-5.CustomerGroupsBatchCustomer.md @@ -10,4 +10,4 @@ #### Defined in -medusa/dist/types/customer-groups.d.ts:10 +medusa/dist/types/customer-groups.d.ts:11 diff --git a/docs/content/references/js-client/classes/internal-5.FilterableCustomerGroupProps.md b/docs/content/references/js-client/classes/internal-5.FilterableCustomerGroupProps.md index 75f28f0afd..a51bb611fa 100644 --- a/docs/content/references/js-client/classes/internal-5.FilterableCustomerGroupProps.md +++ b/docs/content/references/js-client/classes/internal-5.FilterableCustomerGroupProps.md @@ -20,6 +20,16 @@ medusa/dist/types/customer-groups.d.ts:7 ___ +### discount\_condition\_id + +• `Optional` **discount\_condition\_id**: `string` + +#### Defined in + +medusa/dist/types/customer-groups.d.ts:8 + +___ + ### id • `Optional` **id**: `string` \| `string`[] \| [`StringComparisonOperator`](internal-5.StringComparisonOperator.md) diff --git a/docs/content/references/js-client/classes/internal-5.FindParams.md b/docs/content/references/js-client/classes/internal-5.FindParams.md index 0555402354..4a169ffcf2 100644 --- a/docs/content/references/js-client/classes/internal-5.FindParams.md +++ b/docs/content/references/js-client/classes/internal-5.FindParams.md @@ -8,6 +8,16 @@ ↳ [`AdminGetCustomerGroupsGroupParams`](internal-5.AdminGetCustomerGroupsGroupParams.md) + ↳ [`AdminPostDiscountsDiscountConditionsParams`](internal-7.AdminPostDiscountsDiscountConditionsParams.md) + + ↳ [`AdminPostDiscountsDiscountConditionsConditionParams`](internal-7.AdminPostDiscountsDiscountConditionsConditionParams.md) + + ↳ [`AdminGetDiscountsDiscountConditionsConditionParams`](internal-7.AdminGetDiscountsDiscountConditionsConditionParams.md) + + ↳ [`AdminPostDiscountsDiscountConditionsConditionBatchParams`](internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md) + + ↳ [`GetOrderEditsOrderEditParams`](internal-13.GetOrderEditsOrderEditParams.md) + ## Properties ### expand diff --git a/docs/content/references/js-client/classes/internal-7.AdminCreateCondition.md b/docs/content/references/js-client/classes/internal-7.AdminCreateCondition.md index ed2481ba28..32751a0335 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminCreateCondition.md +++ b/docs/content/references/js-client/classes/internal-7.AdminCreateCondition.md @@ -20,7 +20,7 @@ #### Defined in -medusa/dist/types/discount.d.ts:22 +medusa/dist/types/discount.d.ts:20 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:197 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:199 ___ @@ -44,7 +44,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:19 +medusa/dist/types/discount.d.ts:17 ___ @@ -58,7 +58,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:21 +medusa/dist/types/discount.d.ts:19 ___ @@ -72,7 +72,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:20 +medusa/dist/types/discount.d.ts:18 ___ @@ -86,4 +86,4 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:18 +medusa/dist/types/discount.d.ts:16 diff --git a/docs/content/references/js-client/classes/internal-7.AdminDeleteDiscountsDiscountConditionsConditionBatchReq.md b/docs/content/references/js-client/classes/internal-7.AdminDeleteDiscountsDiscountConditionsConditionBatchReq.md new file mode 100644 index 0000000000..fc6eb89cd8 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-7.AdminDeleteDiscountsDiscountConditionsConditionBatchReq.md @@ -0,0 +1,13 @@ +# Class: AdminDeleteDiscountsDiscountConditionsConditionBatchReq + +[internal](../modules/internal-7.md).AdminDeleteDiscountsDiscountConditionsConditionBatchReq + +## Properties + +### resources + +• **resources**: { `id`: `string` }[] + +#### Defined in + +medusa/dist/api/routes/admin/discounts/delete-resources-from-condition-batch.d.ts:85 diff --git a/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountConditionsConditionParams.md b/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountConditionsConditionParams.md index 8a73cc3604..0fb28a93b1 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountConditionsConditionParams.md +++ b/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountConditionsConditionParams.md @@ -2,15 +2,25 @@ [internal](../modules/internal-7.md).AdminGetDiscountsDiscountConditionsConditionParams +## Hierarchy + +- [`FindParams`](internal-5.FindParams.md) + + ↳ **`AdminGetDiscountsDiscountConditionsConditionParams`** + ## Properties ### expand • `Optional` **expand**: `string` +#### Inherited from + +[FindParams](internal-5.FindParams.md).[expand](internal-5.FindParams.md#expand) + #### Defined in -medusa/dist/api/routes/admin/discounts/get-condition.d.ts:58 +medusa/dist/types/common.d.ts:117 ___ @@ -18,6 +28,10 @@ ___ • `Optional` **fields**: `string` +#### Inherited from + +[FindParams](internal-5.FindParams.md).[fields](internal-5.FindParams.md#fields) + #### Defined in -medusa/dist/api/routes/admin/discounts/get-condition.d.ts:59 +medusa/dist/types/common.d.ts:118 diff --git a/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountRuleParams.md b/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountRuleParams.md index 0646d1a543..41cab839e4 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountRuleParams.md +++ b/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsDiscountRuleParams.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/types/discount.d.ts:15 +medusa/dist/types/discount.d.ts:13 ___ @@ -20,4 +20,4 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:14 +medusa/dist/types/discount.d.ts:12 diff --git a/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsParams.md b/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsParams.md index c680dbb453..104db31aca 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsParams.md +++ b/docs/content/references/js-client/classes/internal-7.AdminGetDiscountsParams.md @@ -2,15 +2,39 @@ [internal](../modules/internal-7.md).AdminGetDiscountsParams +## Hierarchy + +- [`AdminGetDiscountsParams_base`](../modules/internal-7.md#admingetdiscountsparams_base) + + ↳ **`AdminGetDiscountsParams`** + ## Properties ### expand • `Optional` **expand**: `string` +#### Inherited from + +AdminGetDiscountsParams\_base.expand + #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:92 +medusa/dist/types/common.d.ts:117 + +___ + +### fields + +• `Optional` **fields**: `string` + +#### Inherited from + +AdminGetDiscountsParams\_base.fields + +#### Defined in + +medusa/dist/types/common.d.ts:118 ___ @@ -20,7 +44,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:89 +medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:91 ___ @@ -30,27 +54,35 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:88 +medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:90 ___ ### limit -• **limit**: `number` +• `Optional` **limit**: `number` + +#### Inherited from + +AdminGetDiscountsParams\_base.limit #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:90 +medusa/dist/types/common.d.ts:122 ___ ### offset -• **offset**: `number` +• `Optional` **offset**: `number` + +#### Inherited from + +AdminGetDiscountsParams\_base.offset #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:91 +medusa/dist/types/common.d.ts:121 ___ @@ -60,7 +92,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:87 +medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:89 ___ @@ -70,4 +102,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:86 +medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:88 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditions.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditions.md index a6fd48fe0f..39b1621295 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditions.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditions.md @@ -20,7 +20,7 @@ #### Defined in -medusa/dist/types/discount.d.ts:22 +medusa/dist/types/discount.d.ts:20 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-condition.d.ts:102 +medusa/dist/api/routes/admin/discounts/create-condition.d.ts:104 ___ @@ -44,7 +44,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:19 +medusa/dist/types/discount.d.ts:17 ___ @@ -58,7 +58,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:21 +medusa/dist/types/discount.d.ts:19 ___ @@ -72,7 +72,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:20 +medusa/dist/types/discount.d.ts:18 ___ @@ -86,4 +86,4 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:18 +medusa/dist/types/discount.d.ts:16 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsCondition.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsCondition.md index 23ca0ae79b..58d4998839 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsCondition.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsCondition.md @@ -20,7 +20,7 @@ #### Defined in -medusa/dist/types/discount.d.ts:22 +medusa/dist/types/discount.d.ts:20 ___ @@ -34,7 +34,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:19 +medusa/dist/types/discount.d.ts:17 ___ @@ -48,7 +48,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:21 +medusa/dist/types/discount.d.ts:19 ___ @@ -62,7 +62,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:20 +medusa/dist/types/discount.d.ts:18 ___ @@ -76,4 +76,4 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:18 +medusa/dist/types/discount.d.ts:16 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md new file mode 100644 index 0000000000..14faddbb41 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md @@ -0,0 +1,37 @@ +# Class: AdminPostDiscountsDiscountConditionsConditionBatchParams + +[internal](../modules/internal-7.md).AdminPostDiscountsDiscountConditionsConditionBatchParams + +## Hierarchy + +- [`FindParams`](internal-5.FindParams.md) + + ↳ **`AdminPostDiscountsDiscountConditionsConditionBatchParams`** + +## Properties + +### expand + +• `Optional` **expand**: `string` + +#### Inherited from + +[FindParams](internal-5.FindParams.md).[expand](internal-5.FindParams.md#expand) + +#### Defined in + +medusa/dist/types/common.d.ts:117 + +___ + +### fields + +• `Optional` **fields**: `string` + +#### Inherited from + +[FindParams](internal-5.FindParams.md).[fields](internal-5.FindParams.md#fields) + +#### Defined in + +medusa/dist/types/common.d.ts:118 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchReq.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchReq.md new file mode 100644 index 0000000000..35100e6ea2 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchReq.md @@ -0,0 +1,13 @@ +# Class: AdminPostDiscountsDiscountConditionsConditionBatchReq + +[internal](../modules/internal-7.md).AdminPostDiscountsDiscountConditionsConditionBatchReq + +## Properties + +### resources + +• **resources**: { `id`: `string` }[] + +#### Defined in + +medusa/dist/api/routes/admin/discounts/add-resources-to-condition-batch.d.ts:83 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionParams.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionParams.md index a0190ff320..a95b5cddb5 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionParams.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsConditionParams.md @@ -2,15 +2,25 @@ [internal](../modules/internal-7.md).AdminPostDiscountsDiscountConditionsConditionParams +## Hierarchy + +- [`FindParams`](internal-5.FindParams.md) + + ↳ **`AdminPostDiscountsDiscountConditionsConditionParams`** + ## Properties ### expand • `Optional` **expand**: `string` +#### Inherited from + +[FindParams](internal-5.FindParams.md).[expand](internal-5.FindParams.md#expand) + #### Defined in -medusa/dist/api/routes/admin/discounts/update-condition.d.ts:101 +medusa/dist/types/common.d.ts:117 ___ @@ -18,6 +28,10 @@ ___ • `Optional` **fields**: `string` +#### Inherited from + +[FindParams](internal-5.FindParams.md).[fields](internal-5.FindParams.md#fields) + #### Defined in -medusa/dist/api/routes/admin/discounts/update-condition.d.ts:102 +medusa/dist/types/common.d.ts:118 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsParams.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsParams.md index 58e9a1295a..1e4f8ca503 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsParams.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountConditionsParams.md @@ -2,15 +2,25 @@ [internal](../modules/internal-7.md).AdminPostDiscountsDiscountConditionsParams +## Hierarchy + +- [`FindParams`](internal-5.FindParams.md) + + ↳ **`AdminPostDiscountsDiscountConditionsParams`** + ## Properties ### expand • `Optional` **expand**: `string` +#### Inherited from + +[FindParams](internal-5.FindParams.md).[expand](internal-5.FindParams.md#expand) + #### Defined in -medusa/dist/api/routes/admin/discounts/create-condition.d.ts:105 +medusa/dist/types/common.d.ts:117 ___ @@ -18,6 +28,10 @@ ___ • `Optional` **fields**: `string` +#### Inherited from + +[FindParams](internal-5.FindParams.md).[fields](internal-5.FindParams.md#fields) + #### Defined in -medusa/dist/api/routes/admin/discounts/create-condition.d.ts:106 +medusa/dist/types/common.d.ts:118 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountDynamicCodesReq.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountDynamicCodesReq.md index f21feeda2d..fdefb09855 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountDynamicCodesReq.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountDynamicCodesReq.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/api/routes/admin/discounts/create-dynamic-code.d.ts:65 +medusa/dist/api/routes/admin/discounts/create-dynamic-code.d.ts:66 ___ @@ -20,7 +20,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-dynamic-code.d.ts:67 +medusa/dist/api/routes/admin/discounts/create-dynamic-code.d.ts:68 ___ @@ -30,4 +30,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-dynamic-code.d.ts:66 +medusa/dist/api/routes/admin/discounts/create-dynamic-code.d.ts:67 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountReq.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountReq.md index a669235cfc..94e7850c1c 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountReq.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountReq.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:159 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:160 ___ @@ -20,7 +20,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:163 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:164 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:161 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:162 ___ @@ -40,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:167 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:168 ___ @@ -50,7 +50,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:166 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:167 ___ @@ -60,7 +60,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:160 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:161 ___ @@ -70,7 +70,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:162 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:163 ___ @@ -80,7 +80,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:165 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:166 ___ @@ -90,4 +90,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:164 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:165 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountRule.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountRule.md index 6f52b52202..778efba820 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountRule.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsDiscountRule.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:193 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:195 ___ @@ -20,7 +20,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:194 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:196 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:190 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:192 ___ @@ -40,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:191 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:193 ___ @@ -50,4 +50,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:192 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:194 diff --git a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsReq.md b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsReq.md index 909851efa5..cba5361020 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsReq.md +++ b/docs/content/references/js-client/classes/internal-7.AdminPostDiscountsReq.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:178 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:180 ___ @@ -20,7 +20,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:183 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:185 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:181 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:183 ___ @@ -40,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:180 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:182 ___ @@ -50,7 +50,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:187 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:189 ___ @@ -60,7 +60,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:186 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:188 ___ @@ -70,7 +70,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:179 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:181 ___ @@ -80,7 +80,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:182 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:184 ___ @@ -90,7 +90,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:185 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:187 ___ @@ -100,4 +100,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/create-discount.d.ts:184 +medusa/dist/api/routes/admin/discounts/create-discount.d.ts:186 diff --git a/docs/content/references/js-client/classes/internal-7.AdminUpdateDiscountRule.md b/docs/content/references/js-client/classes/internal-7.AdminUpdateDiscountRule.md index 94915fad69..3769beb56b 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminUpdateDiscountRule.md +++ b/docs/content/references/js-client/classes/internal-7.AdminUpdateDiscountRule.md @@ -10,7 +10,7 @@ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:173 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:174 ___ @@ -20,7 +20,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:174 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:175 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:171 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:172 ___ @@ -40,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:170 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:171 ___ @@ -50,4 +50,4 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:172 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:173 diff --git a/docs/content/references/js-client/classes/internal-7.AdminUpsertCondition.md b/docs/content/references/js-client/classes/internal-7.AdminUpsertCondition.md index 895733d4be..2148e5c8f9 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminUpsertCondition.md +++ b/docs/content/references/js-client/classes/internal-7.AdminUpsertCondition.md @@ -20,7 +20,7 @@ #### Defined in -medusa/dist/types/discount.d.ts:22 +medusa/dist/types/discount.d.ts:20 ___ @@ -30,7 +30,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:177 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:178 ___ @@ -40,7 +40,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/discounts/update-discount.d.ts:178 +medusa/dist/api/routes/admin/discounts/update-discount.d.ts:179 ___ @@ -54,7 +54,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:19 +medusa/dist/types/discount.d.ts:17 ___ @@ -68,7 +68,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:21 +medusa/dist/types/discount.d.ts:19 ___ @@ -82,7 +82,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:20 +medusa/dist/types/discount.d.ts:18 ___ @@ -96,4 +96,4 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:18 +medusa/dist/types/discount.d.ts:16 diff --git a/docs/content/references/js-client/classes/internal-7.AdminUpsertConditionsReq.md b/docs/content/references/js-client/classes/internal-7.AdminUpsertConditionsReq.md index 91b7ed42a2..d0f82dc29d 100644 --- a/docs/content/references/js-client/classes/internal-7.AdminUpsertConditionsReq.md +++ b/docs/content/references/js-client/classes/internal-7.AdminUpsertConditionsReq.md @@ -22,7 +22,7 @@ #### Defined in -medusa/dist/types/discount.d.ts:22 +medusa/dist/types/discount.d.ts:20 ___ @@ -32,7 +32,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:19 +medusa/dist/types/discount.d.ts:17 ___ @@ -42,7 +42,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:21 +medusa/dist/types/discount.d.ts:19 ___ @@ -52,7 +52,7 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:20 +medusa/dist/types/discount.d.ts:18 ___ @@ -62,4 +62,4 @@ ___ #### Defined in -medusa/dist/types/discount.d.ts:18 +medusa/dist/types/discount.d.ts:16 diff --git a/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersDraftOrderReq.md b/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersDraftOrderReq.md index 8fba1a1bf0..c911b76f3d 100644 --- a/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersDraftOrderReq.md +++ b/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersDraftOrderReq.md @@ -6,11 +6,11 @@ ### billing\_address -• `Optional` **billing\_address**: [`AddressPayload`](internal.AddressPayload.md) +• `Optional` **billing\_address**: `string` \| [`AddressPayload`](internal.AddressPayload.md) #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:106 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:110 ___ @@ -20,7 +20,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:104 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:108 ___ @@ -30,17 +30,17 @@ ___ #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:109 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:113 ___ ### discounts -• `Optional` **discounts**: [`Discount`](internal-8.Discount.md)[] +• `Optional` **discounts**: [`Discount`](internal-8.Discount-1.md)[] #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:108 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:112 ___ @@ -50,7 +50,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:105 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:109 ___ @@ -60,7 +60,7 @@ ___ #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:110 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:114 ___ @@ -70,14 +70,14 @@ ___ #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:103 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:107 ___ ### shipping\_address -• `Optional` **shipping\_address**: [`AddressPayload`](internal.AddressPayload.md) +• `Optional` **shipping\_address**: `string` \| [`AddressPayload`](internal.AddressPayload.md) #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:107 +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:111 diff --git a/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersReq.md b/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersReq.md new file mode 100644 index 0000000000..26e2b98dfe --- /dev/null +++ b/docs/content/references/js-client/classes/internal-8.AdminPostDraftOrdersReq.md @@ -0,0 +1,113 @@ +# Class: AdminPostDraftOrdersReq + +[internal](../modules/internal-8.md).AdminPostDraftOrdersReq + +## Properties + +### billing\_address + +• `Optional` **billing\_address**: `string` \| [`AddressPayload`](internal.AddressPayload.md) + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:175 + +___ + +### customer\_id + +• `Optional` **customer\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:180 + +___ + +### discounts + +• `Optional` **discounts**: [`Discount`](internal-8.Discount.md)[] + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:179 + +___ + +### email + +• **email**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:174 + +___ + +### items + +• **items**: [`Item`](internal-8.Item.md)[] + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:177 + +___ + +### metadata + +• `Optional` **metadata**: `Record`<`string`, `unknown`\> + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:183 + +___ + +### no\_notification\_order + +• `Optional` **no\_notification\_order**: `boolean` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:181 + +___ + +### region\_id + +• **region\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:178 + +___ + +### shipping\_address + +• `Optional` **shipping\_address**: `string` \| [`AddressPayload`](internal.AddressPayload.md) + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:176 + +___ + +### shipping\_methods + +• **shipping\_methods**: [`ShippingMethod`](internal-8.ShippingMethod.md)[] + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:182 + +___ + +### status + +• `Optional` **status**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:173 diff --git a/docs/content/references/js-client/classes/internal-8.Discount-1.md b/docs/content/references/js-client/classes/internal-8.Discount-1.md new file mode 100644 index 0000000000..de83d95745 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-8.Discount-1.md @@ -0,0 +1,13 @@ +# Class: Discount + +[internal](../modules/internal-8.md).Discount + +## Properties + +### code + +• **code**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:117 diff --git a/docs/content/references/js-client/classes/internal-8.Discount.md b/docs/content/references/js-client/classes/internal-8.Discount.md index 01bdce3225..5648d11d8d 100644 --- a/docs/content/references/js-client/classes/internal-8.Discount.md +++ b/docs/content/references/js-client/classes/internal-8.Discount.md @@ -10,4 +10,4 @@ #### Defined in -medusa/dist/api/routes/admin/draft-orders/update-draft-order.d.ts:113 +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:191 diff --git a/docs/content/references/js-client/classes/internal-8.Item.md b/docs/content/references/js-client/classes/internal-8.Item.md new file mode 100644 index 0000000000..cc5a489a62 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-8.Item.md @@ -0,0 +1,53 @@ +# Class: Item + +[internal](../modules/internal-8.md).Item + +## Properties + +### metadata + +• `Optional` **metadata**: `Record`<`string`, `unknown`\> + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:198 + +___ + +### quantity + +• **quantity**: `number` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:197 + +___ + +### title + +• `Optional` **title**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:194 + +___ + +### unit\_price + +• `Optional` **unit\_price**: `number` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:195 + +___ + +### variant\_id + +• `Optional` **variant\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:196 diff --git a/docs/content/references/js-client/classes/internal-8.ShippingMethod.md b/docs/content/references/js-client/classes/internal-8.ShippingMethod.md new file mode 100644 index 0000000000..dd5e4f4775 --- /dev/null +++ b/docs/content/references/js-client/classes/internal-8.ShippingMethod.md @@ -0,0 +1,33 @@ +# Class: ShippingMethod + +[internal](../modules/internal-8.md).ShippingMethod + +## Properties + +### data + +• `Optional` **data**: `Record`<`string`, `unknown`\> + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:187 + +___ + +### option\_id + +• **option\_id**: `string` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:186 + +___ + +### price + +• `Optional` **price**: `number` + +#### Defined in + +medusa/dist/api/routes/admin/draft-orders/create-draft-order.d.ts:188 diff --git a/docs/content/references/js-client/classes/internal.Address.md b/docs/content/references/js-client/classes/internal.Address.md index 46255b640a..f768352c35 100644 --- a/docs/content/references/js-client/classes/internal.Address.md +++ b/docs/content/references/js-client/classes/internal.Address.md @@ -22,7 +22,7 @@ Base abstract entity for all entities #### Defined in -medusa/dist/models/address.d.ts:93 +medusa/dist/models/address.d.ts:10 ___ @@ -32,7 +32,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:94 +medusa/dist/models/address.d.ts:11 ___ @@ -42,7 +42,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:102 +medusa/dist/models/address.d.ts:19 ___ @@ -52,7 +52,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:95 +medusa/dist/models/address.d.ts:12 ___ @@ -62,7 +62,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:90 +medusa/dist/models/address.d.ts:7 ___ @@ -72,7 +72,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:97 +medusa/dist/models/address.d.ts:14 ___ @@ -82,7 +82,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:96 +medusa/dist/models/address.d.ts:13 ___ @@ -106,7 +106,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:89 +medusa/dist/models/address.d.ts:6 ___ @@ -116,7 +116,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:88 +medusa/dist/models/address.d.ts:5 ___ @@ -140,7 +140,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:91 +medusa/dist/models/address.d.ts:8 ___ @@ -164,7 +164,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:92 +medusa/dist/models/address.d.ts:9 ___ @@ -174,7 +174,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:101 +medusa/dist/models/address.d.ts:18 ___ @@ -184,7 +184,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:100 +medusa/dist/models/address.d.ts:17 ___ @@ -194,7 +194,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:99 +medusa/dist/models/address.d.ts:16 ___ @@ -204,7 +204,7 @@ ___ #### Defined in -medusa/dist/models/address.d.ts:98 +medusa/dist/models/address.d.ts:15 ___ diff --git a/docs/content/references/js-client/classes/internal.Cart.md b/docs/content/references/js-client/classes/internal.Cart.md index ac34826e99..7414b234a3 100644 --- a/docs/content/references/js-client/classes/internal.Cart.md +++ b/docs/content/references/js-client/classes/internal.Cart.md @@ -22,7 +22,7 @@ Base abstract entity for all entities #### Defined in -medusa/dist/models/cart.d.ts:224 +medusa/dist/models/cart.d.ts:226 ___ @@ -32,7 +32,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:225 +medusa/dist/models/cart.d.ts:227 ___ @@ -160,7 +160,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:223 +medusa/dist/models/cart.d.ts:225 ___ @@ -170,7 +170,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:222 +medusa/dist/models/cart.d.ts:224 ___ @@ -208,6 +208,16 @@ medusa/dist/models/cart.d.ts:210 ___ +### item\_tax\_total + +• `Optional` **item\_tax\_total**: ``null`` \| `number` + +#### Defined in + +medusa/dist/models/cart.d.ts:217 + +___ + ### items • **items**: [`LineItem`](internal.LineItem.md)[] @@ -294,7 +304,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:221 +medusa/dist/models/cart.d.ts:223 ___ @@ -304,7 +314,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:218 +medusa/dist/models/cart.d.ts:220 ___ @@ -378,6 +388,16 @@ medusa/dist/models/cart.d.ts:206 ___ +### shipping\_tax\_total + +• `Optional` **shipping\_tax\_total**: ``null`` \| `number` + +#### Defined in + +medusa/dist/models/cart.d.ts:218 + +___ + ### shipping\_total • `Optional` **shipping\_total**: `number` @@ -394,7 +414,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:220 +medusa/dist/models/cart.d.ts:222 ___ @@ -404,7 +424,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:217 +medusa/dist/models/cart.d.ts:219 ___ @@ -414,7 +434,7 @@ ___ #### Defined in -medusa/dist/models/cart.d.ts:219 +medusa/dist/models/cart.d.ts:221 ___ diff --git a/docs/content/references/js-client/classes/internal.Client.md b/docs/content/references/js-client/classes/internal.Client.md index 906004ff79..d1bdce7009 100644 --- a/docs/content/references/js-client/classes/internal.Client.md +++ b/docs/content/references/js-client/classes/internal.Client.md @@ -14,7 +14,7 @@ displayed_sidebar: jsClientSidebar #### Defined in -[medusa-js/src/request.ts:29](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L29) +[medusa-js/src/request.ts:29](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L29) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[medusa-js/src/request.ts:30](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L30) +[medusa-js/src/request.ts:30](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L30) ## Methods @@ -48,7 +48,7 @@ and the exponential backoff approach. #### Defined in -[medusa-js/src/request.ts:146](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L146) +[medusa-js/src/request.ts:146](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L146) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[medusa-js/src/request.ts:83](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L83) +[medusa-js/src/request.ts:83](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L83) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[medusa-js/src/request.ts:71](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L71) +[medusa-js/src/request.ts:71](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L71) ___ @@ -114,7 +114,7 @@ Axios request #### Defined in -[medusa-js/src/request.ts:183](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L183) +[medusa-js/src/request.ts:183](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L183) ___ @@ -135,7 +135,7 @@ ___ #### Defined in -[medusa-js/src/request.ts:92](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L92) +[medusa-js/src/request.ts:92](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L92) ___ @@ -161,7 +161,7 @@ We add the idempotency key, if the request is configured to retry. #### Defined in -[medusa-js/src/request.ts:108](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L108) +[medusa-js/src/request.ts:108](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L108) ___ @@ -183,4 +183,4 @@ ___ #### Defined in -[medusa-js/src/request.ts:40](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L40) +[medusa-js/src/request.ts:40](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L40) diff --git a/docs/content/references/js-client/classes/internal.Discount.md b/docs/content/references/js-client/classes/internal.Discount.md index d411d7f375..87be4942b8 100644 --- a/docs/content/references/js-client/classes/internal.Discount.md +++ b/docs/content/references/js-client/classes/internal.Discount.md @@ -182,9 +182,9 @@ medusa/dist/interfaces/models/base-entity.d.ts:7 ___ -### upperCaseCode +### upperCaseCodeAndTrim -• `Private` **upperCaseCode**: `any` +• `Private` **upperCaseCodeAndTrim**: `any` #### Defined in diff --git a/docs/content/references/js-client/classes/internal.OrderEdit.md b/docs/content/references/js-client/classes/internal.OrderEdit.md index 66a5cd41d5..0bfa7ccae8 100644 --- a/docs/content/references/js-client/classes/internal.OrderEdit.md +++ b/docs/content/references/js-client/classes/internal.OrderEdit.md @@ -32,7 +32,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:26 +medusa/dist/models/order-edit.d.ts:24 ___ @@ -42,7 +42,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:25 +medusa/dist/models/order-edit.d.ts:23 ___ @@ -52,7 +52,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:15 +medusa/dist/models/order-edit.d.ts:13 ___ @@ -62,7 +62,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:21 +medusa/dist/models/order-edit.d.ts:19 ___ @@ -72,7 +72,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:20 +medusa/dist/models/order-edit.d.ts:18 ___ @@ -96,7 +96,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:17 +medusa/dist/models/order-edit.d.ts:15 ___ @@ -106,7 +106,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:24 +medusa/dist/models/order-edit.d.ts:22 ___ @@ -116,7 +116,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:22 +medusa/dist/models/order-edit.d.ts:20 ___ @@ -126,7 +126,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:23 +medusa/dist/models/order-edit.d.ts:21 ___ @@ -190,7 +190,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:16 +medusa/dist/models/order-edit.d.ts:14 ___ @@ -200,7 +200,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:27 +medusa/dist/models/order-edit.d.ts:25 ___ @@ -210,7 +210,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:14 +medusa/dist/models/order-edit.d.ts:12 ___ @@ -220,7 +220,27 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:13 +medusa/dist/models/order-edit.d.ts:11 + +___ + +### payment\_collection + +• **payment\_collection**: [`PaymentCollection`](internal.PaymentCollection.md) + +#### Defined in + +medusa/dist/models/order-edit.d.ts:27 + +___ + +### payment\_collection\_id + +• **payment\_collection\_id**: `string` + +#### Defined in + +medusa/dist/models/order-edit.d.ts:26 ___ @@ -230,7 +250,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:19 +medusa/dist/models/order-edit.d.ts:17 ___ @@ -240,7 +260,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:18 +medusa/dist/models/order-edit.d.ts:16 ___ diff --git a/docs/content/references/js-client/classes/internal.PaymentCollection.md b/docs/content/references/js-client/classes/internal.PaymentCollection.md new file mode 100644 index 0000000000..36f979e7c8 --- /dev/null +++ b/docs/content/references/js-client/classes/internal.PaymentCollection.md @@ -0,0 +1,231 @@ +--- +displayed_sidebar: jsClientSidebar +--- + +# Class: PaymentCollection + +[internal](../modules/internal.md).PaymentCollection + +Base abstract entity for all entities + +## Hierarchy + +- [`SoftDeletableEntity`](internal.SoftDeletableEntity.md) + + ↳ **`PaymentCollection`** + +## Properties + +### amount + +• **amount**: `number` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:22 + +___ + +### authorized\_amount + +• **authorized\_amount**: `number` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:23 + +___ + +### beforeInsert + +• `Private` **beforeInsert**: `any` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:34 + +___ + +### captured\_amount + +• **captured\_amount**: `number` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:24 + +___ + +### created\_at + +• **created\_at**: `Date` + +#### Inherited from + +[SoftDeletableEntity](internal.SoftDeletableEntity.md).[created_at](internal.SoftDeletableEntity.md#created_at) + +#### Defined in + +medusa/dist/interfaces/models/base-entity.d.ts:6 + +___ + +### created\_by + +• **created\_by**: `string` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:33 + +___ + +### currency + +• **currency**: [`Currency`](internal.Currency.md) + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:29 + +___ + +### currency\_code + +• **currency\_code**: `string` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:28 + +___ + +### deleted\_at + +• **deleted\_at**: ``null`` \| `Date` + +#### Inherited from + +[SoftDeletableEntity](internal.SoftDeletableEntity.md).[deleted_at](internal.SoftDeletableEntity.md#deleted_at) + +#### Defined in + +medusa/dist/interfaces/models/soft-deletable-entity.d.ts:3 + +___ + +### description + +• **description**: `string` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:21 + +___ + +### id + +• **id**: `string` + +#### Inherited from + +[SoftDeletableEntity](internal.SoftDeletableEntity.md).[id](internal.SoftDeletableEntity.md#id) + +#### Defined in + +medusa/dist/interfaces/models/base-entity.d.ts:5 + +___ + +### metadata + +• **metadata**: `Record`<`string`, `unknown`\> + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:32 + +___ + +### payment\_sessions + +• **payment\_sessions**: [`PaymentSession`](internal.PaymentSession.md)[] + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:30 + +___ + +### payments + +• **payments**: [`Payment`](internal.Payment.md)[] + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:31 + +___ + +### refunded\_amount + +• **refunded\_amount**: `number` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:25 + +___ + +### region + +• **region**: [`Region`](internal.Region.md) + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:27 + +___ + +### region\_id + +• **region\_id**: `string` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:26 + +___ + +### status + +• **status**: [`PaymentCollectionStatus`](../enums/internal.PaymentCollectionStatus.md) + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:20 + +___ + +### type + +• **type**: [`ORDER_EDIT`](../modules/internal.md#order_edit) + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:19 + +___ + +### updated\_at + +• **updated\_at**: `Date` + +#### Inherited from + +[SoftDeletableEntity](internal.SoftDeletableEntity.md).[updated_at](internal.SoftDeletableEntity.md#updated_at) + +#### Defined in + +medusa/dist/interfaces/models/base-entity.d.ts:7 diff --git a/docs/content/references/js-client/classes/internal.PaymentSession.md b/docs/content/references/js-client/classes/internal.PaymentSession.md index c67f419aa1..fd65700a35 100644 --- a/docs/content/references/js-client/classes/internal.PaymentSession.md +++ b/docs/content/references/js-client/classes/internal.PaymentSession.md @@ -16,13 +16,23 @@ Base abstract entity for all entities ## Properties +### amount + +• **amount**: `number` + +#### Defined in + +medusa/dist/models/payment-session.d.ts:18 + +___ + ### beforeInsert • `Private` **beforeInsert**: `any` #### Defined in -medusa/dist/models/payment-session.d.ts:18 +medusa/dist/models/payment-session.d.ts:20 ___ @@ -104,6 +114,16 @@ medusa/dist/models/payment-session.d.ts:14 ___ +### payment\_authorized\_at + +• **payment\_authorized\_at**: `Date` + +#### Defined in + +medusa/dist/models/payment-session.d.ts:19 + +___ + ### provider\_id • **provider\_id**: `string` diff --git a/docs/content/references/js-client/classes/internal.Refund.md b/docs/content/references/js-client/classes/internal.Refund.md index c68a57e490..c65887998e 100644 --- a/docs/content/references/js-client/classes/internal.Refund.md +++ b/docs/content/references/js-client/classes/internal.Refund.md @@ -22,7 +22,7 @@ Base abstract entity for all entities #### Defined in -medusa/dist/models/refund.d.ts:13 +medusa/dist/models/refund.d.ts:16 ___ @@ -32,7 +32,7 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:18 +medusa/dist/models/refund.d.ts:21 ___ @@ -70,7 +70,7 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:17 +medusa/dist/models/refund.d.ts:20 ___ @@ -80,7 +80,7 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:16 +medusa/dist/models/refund.d.ts:19 ___ @@ -90,7 +90,7 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:14 +medusa/dist/models/refund.d.ts:17 ___ @@ -100,7 +100,7 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:12 +medusa/dist/models/refund.d.ts:14 ___ @@ -110,7 +110,27 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:11 +medusa/dist/models/refund.d.ts:12 + +___ + +### payment + +• **payment**: [`Payment`](internal.Payment.md) + +#### Defined in + +medusa/dist/models/refund.d.ts:15 + +___ + +### payment\_id + +• **payment\_id**: `string` + +#### Defined in + +medusa/dist/models/refund.d.ts:13 ___ @@ -120,7 +140,7 @@ ___ #### Defined in -medusa/dist/models/refund.d.ts:15 +medusa/dist/models/refund.d.ts:18 ___ diff --git a/docs/content/references/js-client/classes/internal.ShippingMethod.md b/docs/content/references/js-client/classes/internal.ShippingMethod.md index c0194b37e7..9a5adcfd7b 100644 --- a/docs/content/references/js-client/classes/internal.ShippingMethod.md +++ b/docs/content/references/js-client/classes/internal.ShippingMethod.md @@ -14,7 +14,7 @@ displayed_sidebar: jsClientSidebar #### Defined in -medusa/dist/models/shipping-method.d.ts:26 +medusa/dist/models/shipping-method.d.ts:29 ___ @@ -158,6 +158,16 @@ medusa/dist/models/shipping-method.d.ts:10 ___ +### subtotal + +• `Optional` **subtotal**: `number` + +#### Defined in + +medusa/dist/models/shipping-method.d.ts:26 + +___ + ### swap • **swap**: [`Swap`](internal.Swap.md) @@ -185,3 +195,23 @@ ___ #### Defined in medusa/dist/models/shipping-method.d.ts:22 + +___ + +### tax\_total + +• `Optional` **tax\_total**: `number` + +#### Defined in + +medusa/dist/models/shipping-method.d.ts:28 + +___ + +### total + +• `Optional` **total**: `number` + +#### Defined in + +medusa/dist/models/shipping-method.d.ts:27 diff --git a/docs/content/references/js-client/classes/internal.SoftDeletableEntity.md b/docs/content/references/js-client/classes/internal.SoftDeletableEntity.md index 71fe38d077..31338f7573 100644 --- a/docs/content/references/js-client/classes/internal.SoftDeletableEntity.md +++ b/docs/content/references/js-client/classes/internal.SoftDeletableEntity.md @@ -46,6 +46,8 @@ Base abstract entity for all entities ↳↳ [`OrderItemChange`](internal.OrderItemChange.md) + ↳↳ [`PaymentCollection`](internal.PaymentCollection.md) + ↳↳ [`ProductVariant`](internal.ProductVariant.md) ↳↳ [`MoneyAmount`](internal.MoneyAmount.md) diff --git a/docs/content/references/js-client/classes/internal.StorePostCustomersCustomerAddressesReq.md b/docs/content/references/js-client/classes/internal.StorePostCustomersCustomerAddressesReq.md index 559ec619d8..55034bae21 100644 --- a/docs/content/references/js-client/classes/internal.StorePostCustomersCustomerAddressesReq.md +++ b/docs/content/references/js-client/classes/internal.StorePostCustomersCustomerAddressesReq.md @@ -14,4 +14,4 @@ displayed_sidebar: jsClientSidebar #### Defined in -medusa/dist/api/routes/store/customers/create-address.d.ts:89 +medusa/dist/api/routes/store/customers/create-address.d.ts:97 diff --git a/docs/content/references/js-client/enums/internal.OrderEditStatus.md b/docs/content/references/js-client/enums/internal.OrderEditStatus.md index 29ae837016..ae6d7daa8c 100644 --- a/docs/content/references/js-client/enums/internal.OrderEditStatus.md +++ b/docs/content/references/js-client/enums/internal.OrderEditStatus.md @@ -14,7 +14,7 @@ displayed_sidebar: jsClientSidebar #### Defined in -medusa/dist/models/order-edit.d.ts:10 +medusa/dist/models/order-edit.d.ts:8 ___ @@ -24,7 +24,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:6 +medusa/dist/models/order-edit.d.ts:4 ___ @@ -34,7 +34,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:9 +medusa/dist/models/order-edit.d.ts:7 ___ @@ -44,7 +44,7 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:7 +medusa/dist/models/order-edit.d.ts:5 ___ @@ -54,4 +54,4 @@ ___ #### Defined in -medusa/dist/models/order-edit.d.ts:8 +medusa/dist/models/order-edit.d.ts:6 diff --git a/docs/content/references/js-client/enums/internal.PaymentCollectionStatus.md b/docs/content/references/js-client/enums/internal.PaymentCollectionStatus.md new file mode 100644 index 0000000000..9d9dfc2e48 --- /dev/null +++ b/docs/content/references/js-client/enums/internal.PaymentCollectionStatus.md @@ -0,0 +1,107 @@ +--- +displayed_sidebar: jsClientSidebar +--- + +# Enumeration: PaymentCollectionStatus + +[internal](../modules/internal.md).PaymentCollectionStatus + +## Enumeration Members + +### AUTHORIZED + +• **AUTHORIZED** = ``"authorized"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:6 + +___ + +### AWAITING + +• **AWAITING** = ``"awaiting"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:5 + +___ + +### CANCELED + +• **CANCELED** = ``"canceled"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:12 + +___ + +### CAPTURED + +• **CAPTURED** = ``"captured"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:8 + +___ + +### NOT\_PAID + +• **NOT\_PAID** = ``"not_paid"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:4 + +___ + +### PARTIALLY\_AUTHORIZED + +• **PARTIALLY\_AUTHORIZED** = ``"partially_authorized"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:7 + +___ + +### PARTIALLY\_CAPTURED + +• **PARTIALLY\_CAPTURED** = ``"partially_captured"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:9 + +___ + +### PARTIALLY\_REFUNDED + +• **PARTIALLY\_REFUNDED** = ``"partially_refunded"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:11 + +___ + +### REFUNDED + +• **REFUNDED** = ``"refunded"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:10 + +___ + +### REQUIRES\_ACTION + +• **REQUIRES\_ACTION** = ``"requires_action"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:13 diff --git a/docs/content/references/js-client/interfaces/internal.Config.md b/docs/content/references/js-client/interfaces/internal.Config.md index c594cd76fc..57a3a029c9 100644 --- a/docs/content/references/js-client/interfaces/internal.Config.md +++ b/docs/content/references/js-client/interfaces/internal.Config.md @@ -14,7 +14,7 @@ displayed_sidebar: jsClientSidebar #### Defined in -[medusa-js/src/request.ts:14](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L14) +[medusa-js/src/request.ts:14](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L14) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[medusa-js/src/request.ts:12](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L12) +[medusa-js/src/request.ts:12](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L12) ___ @@ -34,4 +34,4 @@ ___ #### Defined in -[medusa-js/src/request.ts:13](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L13) +[medusa-js/src/request.ts:13](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L13) diff --git a/docs/content/references/js-client/interfaces/internal.HTTPResponse.md b/docs/content/references/js-client/interfaces/internal.HTTPResponse.md index 6e195cbc1e..e2f48864d8 100644 --- a/docs/content/references/js-client/interfaces/internal.HTTPResponse.md +++ b/docs/content/references/js-client/interfaces/internal.HTTPResponse.md @@ -14,7 +14,7 @@ displayed_sidebar: jsClientSidebar #### Defined in -[medusa-js/src/typings.ts:13](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L13) +[medusa-js/src/typings.ts:13](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L13) ___ @@ -24,7 +24,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:10](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L10) +[medusa-js/src/typings.ts:10](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L10) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:14](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L14) +[medusa-js/src/typings.ts:14](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L14) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:8](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L8) +[medusa-js/src/typings.ts:8](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L8) ___ @@ -54,4 +54,4 @@ ___ #### Defined in -[medusa-js/src/typings.ts:9](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L9) +[medusa-js/src/typings.ts:9](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L9) diff --git a/docs/content/references/js-client/interfaces/internal.RequestOptions.md b/docs/content/references/js-client/interfaces/internal.RequestOptions.md index fdf4b73f9c..61b14d61dd 100644 --- a/docs/content/references/js-client/interfaces/internal.RequestOptions.md +++ b/docs/content/references/js-client/interfaces/internal.RequestOptions.md @@ -14,7 +14,7 @@ displayed_sidebar: jsClientSidebar #### Defined in -[medusa-js/src/request.ts:18](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L18) +[medusa-js/src/request.ts:18](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L18) ___ @@ -24,4 +24,4 @@ ___ #### Defined in -[medusa-js/src/request.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L17) +[medusa-js/src/request.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L17) diff --git a/docs/content/references/js-client/modules/internal-10.md b/docs/content/references/js-client/modules/internal-10.md index 2ac1bdc70d..43959600f5 100644 --- a/docs/content/references/js-client/modules/internal-10.md +++ b/docs/content/references/js-client/modules/internal-10.md @@ -31,7 +31,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:47](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L47) +[medusa-js/src/typings.ts:47](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L47) ___ @@ -41,4 +41,4 @@ ___ #### Defined in -[medusa-js/src/typings.ts:45](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L45) +[medusa-js/src/typings.ts:45](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L45) diff --git a/docs/content/references/js-client/modules/internal-13.md b/docs/content/references/js-client/modules/internal-13.md index bf4ffdccf5..a8098d9fe6 100644 --- a/docs/content/references/js-client/modules/internal-13.md +++ b/docs/content/references/js-client/modules/internal-13.md @@ -6,6 +6,8 @@ - [AdminPostOrderEditsEditLineItemsReq](../classes/internal-13.AdminPostOrderEditsEditLineItemsReq.md) - [AdminPostOrderEditsOrderEditReq](../classes/internal-13.AdminPostOrderEditsOrderEditReq.md) - [AdminPostOrderEditsReq](../classes/internal-13.AdminPostOrderEditsReq.md) +- [GetOrderEditsOrderEditParams](../classes/internal-13.GetOrderEditsOrderEditParams.md) +- [GetOrderEditsParams](../classes/internal-13.GetOrderEditsParams.md) ## Type Aliases @@ -23,7 +25,17 @@ #### Defined in -medusa/dist/api/routes/admin/order-edits/index.d.ts:9 +medusa/dist/api/routes/admin/order-edits/index.d.ts:12 + +___ + +### AdminOrderEditsListRes + +Ƭ **AdminOrderEditsListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `order_edits`: [`OrderEdit`](../classes/internal.OrderEdit.md)[] } + +#### Defined in + +medusa/dist/api/routes/admin/order-edits/index.d.ts:8 ___ @@ -40,3 +52,13 @@ ___ #### Defined in medusa/dist/api/routes/admin/order-edits/index.d.ts:5 + +## Variables + +### GetOrderEditsParams\_base + +• `Const` **GetOrderEditsParams\_base**: [`"/home/runner/work/medusa/medusa/packages/medusa/dist/types/global"`](internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md) + +#### Defined in + +medusa/dist/api/routes/admin/order-edits/list-order-edit.d.ts:61 diff --git a/docs/content/references/js-client/modules/internal-15.md b/docs/content/references/js-client/modules/internal-15.md index a79d745e53..ffd00667af 100644 --- a/docs/content/references/js-client/modules/internal-15.md +++ b/docs/content/references/js-client/modules/internal-15.md @@ -1,9 +1,5 @@ # Namespace: internal -## Namespaces - -- ["/Users/shahednasser/medusa/packages/medusa/dist/types/global"](internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md) - ## Classes - [AdminDeletePriceListPricesPricesReq](../classes/internal-15.AdminDeletePriceListPricesPricesReq.md) @@ -66,7 +62,7 @@ medusa/dist/api/routes/admin/price-lists/index.d.ts:21 ### AdminGetPriceListsPriceListProductsParams\_base -• `Const` **AdminGetPriceListsPriceListProductsParams\_base**: [`"/Users/shahednasser/medusa/packages/medusa/dist/types/global"`](internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md) +• `Const` **AdminGetPriceListsPriceListProductsParams\_base**: [`"/home/runner/work/medusa/medusa/packages/medusa/dist/types/global"`](internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md) #### Defined in diff --git a/docs/content/references/js-client/modules/internal-22.md b/docs/content/references/js-client/modules/internal-22.md index b49d3384e7..416c19e67d 100644 --- a/docs/content/references/js-client/modules/internal-22.md +++ b/docs/content/references/js-client/modules/internal-22.md @@ -39,7 +39,7 @@ medusa/dist/api/routes/admin/sales-channels/index.d.ts:6 ### AdminGetSalesChannelsParams\_base -• `Const` **AdminGetSalesChannelsParams\_base**: [`"/Users/shahednasser/medusa/packages/medusa/dist/types/global"`](internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md) +• `Const` **AdminGetSalesChannelsParams\_base**: [`"/home/runner/work/medusa/medusa/packages/medusa/dist/types/global"`](internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md) #### Defined in diff --git a/docs/content/references/js-client/modules/internal-29.md b/docs/content/references/js-client/modules/internal-29.md index 079c2c38f0..52b29981d7 100644 --- a/docs/content/references/js-client/modules/internal-29.md +++ b/docs/content/references/js-client/modules/internal-29.md @@ -15,7 +15,7 @@ #### Defined in -[medusa-js/src/typings.ts:31](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L31) +[medusa-js/src/typings.ts:31](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L31) ___ @@ -25,7 +25,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:41](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L41) +[medusa-js/src/typings.ts:41](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L41) ___ @@ -67,7 +67,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:28](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L28) +[medusa-js/src/typings.ts:28](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L28) ___ @@ -77,7 +77,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:25](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L25) +[medusa-js/src/typings.ts:25](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L25) ___ @@ -93,7 +93,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:23](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L23) +[medusa-js/src/typings.ts:23](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L23) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:39](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L39) +[medusa-js/src/typings.ts:39](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L39) ___ @@ -113,4 +113,4 @@ ___ #### Defined in -[medusa-js/src/typings.ts:37](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L37) +[medusa-js/src/typings.ts:37](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L37) diff --git a/docs/content/references/js-client/modules/internal-30.md b/docs/content/references/js-client/modules/internal-30.md index c879adbcc9..7b37eafb50 100644 --- a/docs/content/references/js-client/modules/internal-30.md +++ b/docs/content/references/js-client/modules/internal-30.md @@ -3,13 +3,15 @@ ## Classes - [AdminGetVariantsParams](../classes/internal-30.AdminGetVariantsParams.md) +- [AdminPriceSelectionParams](../classes/internal-30.AdminPriceSelectionParams.md) +- [PriceSelectionParams](../classes/internal-30.PriceSelectionParams.md) ## Type Aliases ### AdminVariantsListRes -Ƭ **AdminVariantsListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `variants`: [`ProductVariant`](../classes/internal.ProductVariant.md)[] } +Ƭ **AdminVariantsListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `variants`: [`PricedVariant`](internal-18.md#pricedvariant)[] } #### Defined in -medusa/dist/api/routes/admin/variants/index.d.ts:9 +medusa/dist/api/routes/admin/variants/index.d.ts:10 diff --git a/docs/content/references/js-client/modules/internal-40.md b/docs/content/references/js-client/modules/internal-40.md index 0ba99e0e09..47530727f3 100644 --- a/docs/content/references/js-client/modules/internal-40.md +++ b/docs/content/references/js-client/modules/internal-40.md @@ -2,7 +2,6 @@ ## Classes -- [PriceSelectionParams](../classes/internal-40.PriceSelectionParams.md) - [StoreGetVariantsParams](../classes/internal-40.StoreGetVariantsParams.md) ## Type Aliases diff --git a/docs/content/references/js-client/modules/internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md b/docs/content/references/js-client/modules/internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md similarity index 88% rename from docs/content/references/js-client/modules/internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md rename to docs/content/references/js-client/modules/internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md index 1b2cb3a266..eaef46ac4d 100644 --- a/docs/content/references/js-client/modules/internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md +++ b/docs/content/references/js-client/modules/internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md @@ -1,6 +1,6 @@ -# Namespace: "/Users/shahednasser/medusa/packages/medusa/dist/types/global" +# Namespace: "/home/runner/work/medusa/medusa/packages/medusa/dist/types/global" -[internal](internal-15.md)."/Users/shahednasser/medusa/packages/medusa/dist/types/global" +[internal](internal-7.md)."/home/runner/work/medusa/medusa/packages/medusa/dist/types/global" ## Type Aliases @@ -76,7 +76,7 @@ ___ ### MedusaContainer -Ƭ **MedusaContainer**: `AwilixContainer` & { `registerAdd`: (`name`: `string`, `registration`: `T`) => [`MedusaContainer`](internal-15.__Users_shahednasser_medusa_packages_medusa_dist_types_global_.md#medusacontainer) } +Ƭ **MedusaContainer**: `AwilixContainer` & { `registerAdd`: (`name`: `string`, `registration`: `T`) => [`MedusaContainer`](internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md#medusacontainer) } #### Defined in diff --git a/docs/content/references/js-client/modules/internal-7.md b/docs/content/references/js-client/modules/internal-7.md index ecddf0e2f3..7457efa85e 100644 --- a/docs/content/references/js-client/modules/internal-7.md +++ b/docs/content/references/js-client/modules/internal-7.md @@ -1,13 +1,20 @@ # Namespace: internal +## Namespaces + +- ["/home/runner/work/medusa/medusa/packages/medusa/dist/types/global"](internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md) + ## Classes - [AdminCreateCondition](../classes/internal-7.AdminCreateCondition.md) +- [AdminDeleteDiscountsDiscountConditionsConditionBatchReq](../classes/internal-7.AdminDeleteDiscountsDiscountConditionsConditionBatchReq.md) - [AdminGetDiscountsDiscountConditionsConditionParams](../classes/internal-7.AdminGetDiscountsDiscountConditionsConditionParams.md) - [AdminGetDiscountsDiscountRuleParams](../classes/internal-7.AdminGetDiscountsDiscountRuleParams.md) - [AdminGetDiscountsParams](../classes/internal-7.AdminGetDiscountsParams.md) - [AdminPostDiscountsDiscountConditions](../classes/internal-7.AdminPostDiscountsDiscountConditions.md) - [AdminPostDiscountsDiscountConditionsCondition](../classes/internal-7.AdminPostDiscountsDiscountConditionsCondition.md) +- [AdminPostDiscountsDiscountConditionsConditionBatchParams](../classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchParams.md) +- [AdminPostDiscountsDiscountConditionsConditionBatchReq](../classes/internal-7.AdminPostDiscountsDiscountConditionsConditionBatchReq.md) - [AdminPostDiscountsDiscountConditionsConditionParams](../classes/internal-7.AdminPostDiscountsDiscountConditionsConditionParams.md) - [AdminPostDiscountsDiscountConditionsParams](../classes/internal-7.AdminPostDiscountsDiscountConditionsParams.md) - [AdminPostDiscountsDiscountDynamicCodesReq](../classes/internal-7.AdminPostDiscountsDiscountDynamicCodesReq.md) @@ -59,3 +66,13 @@ ___ #### Defined in medusa/dist/api/routes/admin/discounts/index.d.ts:11 + +## Variables + +### AdminGetDiscountsParams\_base + +• `Const` **AdminGetDiscountsParams\_base**: [`"/home/runner/work/medusa/medusa/packages/medusa/dist/types/global"`](internal-7.__home_runner_work_medusa_medusa_packages_medusa_dist_types_global_.md) + +#### Defined in + +medusa/dist/api/routes/admin/discounts/list-discounts.d.ts:86 diff --git a/docs/content/references/js-client/modules/internal-8.md b/docs/content/references/js-client/modules/internal-8.md index 444c0645ee..0510586ece 100644 --- a/docs/content/references/js-client/modules/internal-8.md +++ b/docs/content/references/js-client/modules/internal-8.md @@ -6,7 +6,11 @@ - [AdminPostDraftOrdersDraftOrderLineItemsItemReq](../classes/internal-8.AdminPostDraftOrdersDraftOrderLineItemsItemReq.md) - [AdminPostDraftOrdersDraftOrderLineItemsReq](../classes/internal-8.AdminPostDraftOrdersDraftOrderLineItemsReq.md) - [AdminPostDraftOrdersDraftOrderReq](../classes/internal-8.AdminPostDraftOrdersDraftOrderReq.md) +- [AdminPostDraftOrdersReq](../classes/internal-8.AdminPostDraftOrdersReq.md) - [Discount](../classes/internal-8.Discount.md) +- [Discount](../classes/internal-8.Discount-1.md) +- [Item](../classes/internal-8.Item.md) +- [ShippingMethod](../classes/internal-8.ShippingMethod.md) ## Type Aliases diff --git a/docs/content/references/js-client/modules/internal.md b/docs/content/references/js-client/modules/internal.md index 8e312a241d..ebaa6665da 100644 --- a/docs/content/references/js-client/modules/internal.md +++ b/docs/content/references/js-client/modules/internal.md @@ -20,6 +20,7 @@ displayed_sidebar: jsClientSidebar - [OrderEditItemChangeType](../enums/internal.OrderEditItemChangeType.md) - [OrderEditStatus](../enums/internal.OrderEditStatus.md) - [OrderStatus](../enums/internal.OrderStatus.md) +- [PaymentCollectionStatus](../enums/internal.PaymentCollectionStatus.md) - [PaymentStatus](../enums/internal.PaymentStatus.md) - [PriceListStatus](../enums/internal.PriceListStatus.md) - [PriceListType](../enums/internal.PriceListType.md) @@ -66,6 +67,7 @@ displayed_sidebar: jsClientSidebar - [OrderEdit](../classes/internal.OrderEdit.md) - [OrderItemChange](../classes/internal.OrderItemChange.md) - [Payment](../classes/internal.Payment.md) +- [PaymentCollection](../classes/internal.PaymentCollection.md) - [PaymentProvider](../classes/internal.PaymentProvider.md) - [PaymentSession](../classes/internal.PaymentSession.md) - [PriceList](../classes/internal.PriceList.md) @@ -119,6 +121,16 @@ displayed_sidebar: jsClientSidebar - [RetryConfig](../interfaces/internal.RetryConfig.md) - [TransitionalOptions](../interfaces/internal.TransitionalOptions.md) +## Enumeration Members + +### ORDER\_EDIT + +• **ORDER\_EDIT**: ``"order_edit"`` + +#### Defined in + +medusa/dist/models/payment-collection.d.ts:16 + ## Type Aliases ### AxiosRequestHeaders @@ -157,7 +169,7 @@ ___ #### Defined in -[medusa-js/src/request.ts:21](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/request.ts#L21) +[medusa-js/src/request.ts:21](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/request.ts#L21) ___ @@ -173,7 +185,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:17](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L17) +[medusa-js/src/typings.ts:17](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L17) ___ @@ -189,7 +201,7 @@ ___ #### Defined in -[medusa-js/src/typings.ts:21](https://github.com/medusajs/medusa/blob/53e34d33d/packages/medusa-js/src/typings.ts#L21) +[medusa-js/src/typings.ts:21](https://github.com/medusajs/medusa/blob/0b0d50b47/packages/medusa-js/src/typings.ts#L21) ___