chore(docs): Generated JS Client Reference (#5421)
* chore(docs): Generated JS Client Reference (automated) * fix js client reference * fix links --------- Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed nasser <shahednasser@gmail.com>
This commit is contained in:
co-authored by
olivermrbl
Shahed nasser
parent
83f46b9b32
commit
9dcd62c731
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# addresses
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../addresses/modules/addresses.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AddressesResource](../addresses/classes/addresses.AddressesResource.mdx)
|
||||
@@ -0,0 +1,227 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin
|
||||
|
||||
## Classes
|
||||
|
||||
- [Admin](../admin/classes/admin.Admin.mdx)
|
||||
|
||||
## References
|
||||
|
||||
### AdminAuthResource
|
||||
|
||||
Re-exports [AdminAuthResource](../admin_auth/classes/admin_auth.AdminAuthResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminBatchJobsResource
|
||||
|
||||
Re-exports [AdminBatchJobsResource](../admin_batch_jobs/classes/admin_batch_jobs.AdminBatchJobsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCollectionsResource
|
||||
|
||||
Re-exports [AdminCollectionsResource](../admin_collections/classes/admin_collections.AdminCollectionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCurrenciesResource
|
||||
|
||||
Re-exports [AdminCurrenciesResource](../admin_currencies/classes/admin_currencies.AdminCurrenciesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomResource
|
||||
|
||||
Re-exports [AdminCustomResource](../admin_custom/classes/admin_custom.AdminCustomResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomerGroupsResource
|
||||
|
||||
Re-exports [AdminCustomerGroupsResource](../admin_customer_groups/classes/admin_customer_groups.AdminCustomerGroupsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomersResource
|
||||
|
||||
Re-exports [AdminCustomersResource](../admin_customers/classes/admin_customers.AdminCustomersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminDiscountsResource
|
||||
|
||||
Re-exports [AdminDiscountsResource](../admin_discounts/classes/admin_discounts.AdminDiscountsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminDraftOrdersResource
|
||||
|
||||
Re-exports [AdminDraftOrdersResource](../admin_draft_orders/classes/admin_draft_orders.AdminDraftOrdersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminGiftCardsResource
|
||||
|
||||
Re-exports [AdminGiftCardsResource](../admin_gift_cards/classes/admin_gift_cards.AdminGiftCardsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminInvitesResource
|
||||
|
||||
Re-exports [AdminInvitesResource](../admin_invites/classes/admin_invites.AdminInvitesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminNotesResource
|
||||
|
||||
Re-exports [AdminNotesResource](../admin_notes/classes/admin_notes.AdminNotesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminNotificationsResource
|
||||
|
||||
Re-exports [AdminNotificationsResource](../admin_notifications/classes/admin_notifications.AdminNotificationsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminOrderEditsResource
|
||||
|
||||
Re-exports [AdminOrderEditsResource](../admin_order_edits/classes/admin_order_edits.AdminOrderEditsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminOrdersResource
|
||||
|
||||
Re-exports [AdminOrdersResource](../admin_orders/classes/admin_orders.AdminOrdersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPaymentCollectionsResource
|
||||
|
||||
Re-exports [AdminPaymentCollectionsResource](../admin_payment_collections/classes/admin_payment_collections.AdminPaymentCollectionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPaymentsResource
|
||||
|
||||
Re-exports [AdminPaymentsResource](../admin_payments/classes/admin_payments.AdminPaymentsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPriceListResource
|
||||
|
||||
Re-exports [AdminPriceListResource](../admin_price_lists/classes/admin_price_lists.AdminPriceListResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductCategoriesResource
|
||||
|
||||
Re-exports [AdminProductCategoriesResource](../admin_product_categories/classes/admin_product_categories.AdminProductCategoriesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductTagsResource
|
||||
|
||||
Re-exports [AdminProductTagsResource](../admin_product_tags/classes/admin_product_tags.AdminProductTagsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductTypesResource
|
||||
|
||||
Re-exports [AdminProductTypesResource](../admin_product_types/classes/admin_product_types.AdminProductTypesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductsResource
|
||||
|
||||
Re-exports [AdminProductsResource](../admin_products/classes/admin_products.AdminProductsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPublishableApiKeyResource
|
||||
|
||||
Re-exports [AdminPublishableApiKeyResource](../admin_publishable_api_keys/classes/admin_publishable_api_keys.AdminPublishableApiKeyResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminRegionsResource
|
||||
|
||||
Re-exports [AdminRegionsResource](../admin_regions/classes/admin_regions.AdminRegionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminReturnReasonsResource
|
||||
|
||||
Re-exports [AdminReturnReasonsResource](../admin_return_reasons/classes/admin_return_reasons.AdminReturnReasonsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminReturnsResource
|
||||
|
||||
Re-exports [AdminReturnsResource](../admin_returns/classes/admin_returns.AdminReturnsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminSalesChannelsResource
|
||||
|
||||
Re-exports [AdminSalesChannelsResource](../admin_sales_channels/classes/admin_sales_channels.AdminSalesChannelsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminShippingOptionsResource
|
||||
|
||||
Re-exports [AdminShippingOptionsResource](../admin_shipping_options/classes/admin_shipping_options.AdminShippingOptionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminShippingProfilesResource
|
||||
|
||||
Re-exports [AdminShippingProfilesResource](../admin_shipping_profiles/classes/admin_shipping_profiles.AdminShippingProfilesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminStockLocationsResource
|
||||
|
||||
Re-exports [AdminStockLocationsResource](../admin_stock_locations/classes/admin_stock_locations.AdminStockLocationsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminStoresResource
|
||||
|
||||
Re-exports [AdminStoresResource](../admin_store/classes/admin_store.AdminStoresResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminSwapsResource
|
||||
|
||||
Re-exports [AdminSwapsResource](../admin_swaps/classes/admin_swaps.AdminSwapsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminTaxRatesResource
|
||||
|
||||
Re-exports [AdminTaxRatesResource](../admin_tax_rates/classes/admin_tax_rates.AdminTaxRatesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminUploadsResource
|
||||
|
||||
Re-exports [AdminUploadsResource](../admin_uploads/classes/admin_uploads.AdminUploadsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminUsersResource
|
||||
|
||||
Re-exports [AdminUsersResource](../admin_users/classes/admin_users.AdminUsersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminVariantsResource
|
||||
|
||||
Re-exports [AdminVariantsResource](../admin_variants/classes/admin_variants.AdminVariantsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/auth
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_auth/modules/admin_auth.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminAuthResource](../admin_auth/classes/admin_auth.AdminAuthResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/batch-jobs
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_batch_jobs/modules/admin_batch_jobs.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminBatchJobsResource](../admin_batch_jobs/classes/admin_batch_jobs.AdminBatchJobsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/collections
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_collections/modules/admin_collections.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminCollectionsResource](../admin_collections/classes/admin_collections.AdminCollectionsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/currencies
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_currencies/modules/admin_currencies.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminCurrenciesResource](../admin_currencies/classes/admin_currencies.AdminCurrenciesResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/custom
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_custom/modules/admin_custom.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminCustomResource](../admin_custom/classes/admin_custom.AdminCustomResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/customer-groups
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_customer_groups/modules/admin_customer_groups.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminCustomerGroupsResource](../admin_customer_groups/classes/admin_customer_groups.AdminCustomerGroupsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/customers
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_customers/modules/admin_customers.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminCustomersResource](../admin_customers/classes/admin_customers.AdminCustomersResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/discounts
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_discounts/modules/admin_discounts.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminDiscountsResource](../admin_discounts/classes/admin_discounts.AdminDiscountsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/draft-orders
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminDraftOrdersResource](../admin_draft_orders/classes/admin_draft_orders.AdminDraftOrdersResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/gift-cards
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminGiftCardsResource](../admin_gift_cards/classes/admin_gift_cards.AdminGiftCardsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/inventory-item
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminInventoryItemsResource](../admin_inventory_item/classes/admin_inventory_item.AdminInventoryItemsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/invites
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_invites/modules/admin_invites.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminInvitesResource](../admin_invites/classes/admin_invites.AdminInvitesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/notes
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminNotesResource](../admin_notes/classes/admin_notes.AdminNotesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/notifications
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminNotificationsResource](../admin_notifications/classes/admin_notifications.AdminNotificationsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/order-edits
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminOrderEditsResource](../admin_order_edits/classes/admin_order_edits.AdminOrderEditsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/orders
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminOrdersResource](../admin_orders/classes/admin_orders.AdminOrdersResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/payment-collections
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminPaymentCollectionsResource](../admin_payment_collections/classes/admin_payment_collections.AdminPaymentCollectionsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/payments
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminPaymentsResource](../admin_payments/classes/admin_payments.AdminPaymentsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/price-lists
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminPriceListResource](../admin_price_lists/classes/admin_price_lists.AdminPriceListResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/product-categories
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminProductCategoriesResource](../admin_product_categories/classes/admin_product_categories.AdminProductCategoriesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/product-tags
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminProductTagsResource](../admin_product_tags/classes/admin_product_tags.AdminProductTagsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/product-types
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminProductTypesResource](../admin_product_types/classes/admin_product_types.AdminProductTypesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/products
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminProductsResource](../admin_products/classes/admin_products.AdminProductsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/publishable-api-keys
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminPublishableApiKeyResource](../admin_publishable_api_keys/classes/admin_publishable_api_keys.AdminPublishableApiKeyResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/regions
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminRegionsResource](../admin_regions/classes/admin_regions.AdminRegionsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/reservations
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminReservationsResource](../admin_reservations/classes/admin_reservations.AdminReservationsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/return-reasons
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminReturnReasonsResource](../admin_return_reasons/classes/admin_return_reasons.AdminReturnReasonsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/returns
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminReturnsResource](../admin_returns/classes/admin_returns.AdminReturnsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/sales-channels
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminSalesChannelsResource](../admin_sales_channels/classes/admin_sales_channels.AdminSalesChannelsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/shipping-options
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminShippingOptionsResource](../admin_shipping_options/classes/admin_shipping_options.AdminShippingOptionsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/shipping-profiles
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminShippingProfilesResource](../admin_shipping_profiles/classes/admin_shipping_profiles.AdminShippingProfilesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/stock-locations
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminStockLocationsResource](../admin_stock_locations/classes/admin_stock_locations.AdminStockLocationsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/store
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminStoresResource](../admin_store/classes/admin_store.AdminStoresResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/swaps
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminSwapsResource](../admin_swaps/classes/admin_swaps.AdminSwapsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/tax-rates
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminTaxRatesResource](../admin_tax_rates/classes/admin_tax_rates.AdminTaxRatesResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/uploads
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_uploads/modules/admin_uploads.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminUploadsResource](../admin_uploads/classes/admin_uploads.AdminUploadsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/users
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../admin_users/modules/admin_users.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminUsersResource](../admin_users/classes/admin_users.AdminUsersResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# admin/variants
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminVariantsResource](../admin_variants/classes/admin_variants.AdminVariantsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# auth
|
||||
|
||||
## Classes
|
||||
|
||||
- [AuthResource](../auth/classes/auth.AuthResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# carts
|
||||
|
||||
## Classes
|
||||
|
||||
- [CartsResource](../carts/classes/carts.CartsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# collections
|
||||
|
||||
## Classes
|
||||
|
||||
- [CollectionsResource](../collections/classes/collections.CollectionsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# customers
|
||||
|
||||
## Classes
|
||||
|
||||
- [CustomerResource](../customers/classes/customers.CustomerResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# gift-cards
|
||||
|
||||
## Classes
|
||||
|
||||
- [GiftCardsResource](../gift_cards/classes/gift_cards.GiftCardsResource.mdx)
|
||||
@@ -0,0 +1,355 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# index
|
||||
|
||||
## References
|
||||
|
||||
### AddressesResource
|
||||
|
||||
Re-exports [AddressesResource](../addresses/classes/addresses.AddressesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### Admin
|
||||
|
||||
Re-exports [Admin](../admin/classes/admin.Admin.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminAuthResource
|
||||
|
||||
Re-exports [AdminAuthResource](../admin_auth/classes/admin_auth.AdminAuthResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminBatchJobsResource
|
||||
|
||||
Re-exports [AdminBatchJobsResource](../admin_batch_jobs/classes/admin_batch_jobs.AdminBatchJobsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCollectionsResource
|
||||
|
||||
Re-exports [AdminCollectionsResource](../admin_collections/classes/admin_collections.AdminCollectionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCurrenciesResource
|
||||
|
||||
Re-exports [AdminCurrenciesResource](../admin_currencies/classes/admin_currencies.AdminCurrenciesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomResource
|
||||
|
||||
Re-exports [AdminCustomResource](../admin_custom/classes/admin_custom.AdminCustomResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomerGroupsResource
|
||||
|
||||
Re-exports [AdminCustomerGroupsResource](../admin_customer_groups/classes/admin_customer_groups.AdminCustomerGroupsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomersResource
|
||||
|
||||
Re-exports [AdminCustomersResource](../admin_customers/classes/admin_customers.AdminCustomersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminDiscountsResource
|
||||
|
||||
Re-exports [AdminDiscountsResource](../admin_discounts/classes/admin_discounts.AdminDiscountsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminDraftOrdersResource
|
||||
|
||||
Re-exports [AdminDraftOrdersResource](../admin_draft_orders/classes/admin_draft_orders.AdminDraftOrdersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminGiftCardsResource
|
||||
|
||||
Re-exports [AdminGiftCardsResource](../admin_gift_cards/classes/admin_gift_cards.AdminGiftCardsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminInvitesResource
|
||||
|
||||
Re-exports [AdminInvitesResource](../admin_invites/classes/admin_invites.AdminInvitesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminNotesResource
|
||||
|
||||
Re-exports [AdminNotesResource](../admin_notes/classes/admin_notes.AdminNotesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminNotificationsResource
|
||||
|
||||
Re-exports [AdminNotificationsResource](../admin_notifications/classes/admin_notifications.AdminNotificationsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminOrderEditsResource
|
||||
|
||||
Re-exports [AdminOrderEditsResource](../admin_order_edits/classes/admin_order_edits.AdminOrderEditsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminOrdersResource
|
||||
|
||||
Re-exports [AdminOrdersResource](../admin_orders/classes/admin_orders.AdminOrdersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPaymentCollectionsResource
|
||||
|
||||
Re-exports [AdminPaymentCollectionsResource](../admin_payment_collections/classes/admin_payment_collections.AdminPaymentCollectionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPaymentsResource
|
||||
|
||||
Re-exports [AdminPaymentsResource](../admin_payments/classes/admin_payments.AdminPaymentsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPriceListResource
|
||||
|
||||
Re-exports [AdminPriceListResource](../admin_price_lists/classes/admin_price_lists.AdminPriceListResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductCategoriesResource
|
||||
|
||||
Re-exports [AdminProductCategoriesResource](../admin_product_categories/classes/admin_product_categories.AdminProductCategoriesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductTagsResource
|
||||
|
||||
Re-exports [AdminProductTagsResource](../admin_product_tags/classes/admin_product_tags.AdminProductTagsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductTypesResource
|
||||
|
||||
Re-exports [AdminProductTypesResource](../admin_product_types/classes/admin_product_types.AdminProductTypesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminProductsResource
|
||||
|
||||
Re-exports [AdminProductsResource](../admin_products/classes/admin_products.AdminProductsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminPublishableApiKeyResource
|
||||
|
||||
Re-exports [AdminPublishableApiKeyResource](../admin_publishable_api_keys/classes/admin_publishable_api_keys.AdminPublishableApiKeyResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminRegionsResource
|
||||
|
||||
Re-exports [AdminRegionsResource](../admin_regions/classes/admin_regions.AdminRegionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminReturnReasonsResource
|
||||
|
||||
Re-exports [AdminReturnReasonsResource](../admin_return_reasons/classes/admin_return_reasons.AdminReturnReasonsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminReturnsResource
|
||||
|
||||
Re-exports [AdminReturnsResource](../admin_returns/classes/admin_returns.AdminReturnsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminSalesChannelsResource
|
||||
|
||||
Re-exports [AdminSalesChannelsResource](../admin_sales_channels/classes/admin_sales_channels.AdminSalesChannelsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminShippingOptionsResource
|
||||
|
||||
Re-exports [AdminShippingOptionsResource](../admin_shipping_options/classes/admin_shipping_options.AdminShippingOptionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminShippingProfilesResource
|
||||
|
||||
Re-exports [AdminShippingProfilesResource](../admin_shipping_profiles/classes/admin_shipping_profiles.AdminShippingProfilesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminStockLocationsResource
|
||||
|
||||
Re-exports [AdminStockLocationsResource](../admin_stock_locations/classes/admin_stock_locations.AdminStockLocationsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminStoresResource
|
||||
|
||||
Re-exports [AdminStoresResource](../admin_store/classes/admin_store.AdminStoresResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminSwapsResource
|
||||
|
||||
Re-exports [AdminSwapsResource](../admin_swaps/classes/admin_swaps.AdminSwapsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminTaxRatesResource
|
||||
|
||||
Re-exports [AdminTaxRatesResource](../admin_tax_rates/classes/admin_tax_rates.AdminTaxRatesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminUploadsResource
|
||||
|
||||
Re-exports [AdminUploadsResource](../admin_uploads/classes/admin_uploads.AdminUploadsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminUsersResource
|
||||
|
||||
Re-exports [AdminUsersResource](../admin_users/classes/admin_users.AdminUsersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AdminVariantsResource
|
||||
|
||||
Re-exports [AdminVariantsResource](../admin_variants/classes/admin_variants.AdminVariantsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### AuthResource
|
||||
|
||||
Re-exports [AuthResource](../auth/classes/auth.AuthResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### CartsResource
|
||||
|
||||
Re-exports [CartsResource](../carts/classes/carts.CartsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### CollectionsResource
|
||||
|
||||
Re-exports [CollectionsResource](../collections/classes/collections.CollectionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### CustomersResource
|
||||
|
||||
Renames and re-exports [CustomerResource](../customers/classes/customers.CustomerResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### GiftCardsResource
|
||||
|
||||
Re-exports [GiftCardsResource](../gift_cards/classes/gift_cards.GiftCardsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### LineItemsResource
|
||||
|
||||
Re-exports [LineItemsResource](../line_items/classes/line_items.LineItemsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### OrderEditsResource
|
||||
|
||||
Re-exports [OrderEditsResource](../order_edits/classes/order_edits.OrderEditsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### OrdersResource
|
||||
|
||||
Re-exports [OrdersResource](../orders/classes/orders.OrdersResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### PaymentCollectionsResource
|
||||
|
||||
Re-exports [PaymentCollectionsResource](../payment_collections/classes/payment_collections.PaymentCollectionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### PaymentMethodsResource
|
||||
|
||||
Re-exports [PaymentMethodsResource](../payment_methods/classes/payment_methods.PaymentMethodsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ProductCategoriesResource
|
||||
|
||||
Re-exports [ProductCategoriesResource](../product_categories/classes/product_categories.ProductCategoriesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ProductTagsResource
|
||||
|
||||
Re-exports [ProductTagsResource](../product_tags/classes/product_tags.ProductTagsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ProductTypesResource
|
||||
|
||||
Re-exports [ProductTypesResource](../product_types/classes/product_types.ProductTypesResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ProductVariantsResource
|
||||
|
||||
Re-exports [ProductVariantsResource](../product_variants/classes/product_variants.ProductVariantsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ProductsResource
|
||||
|
||||
Re-exports [ProductsResource](../products/classes/products.ProductsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### RegionsResource
|
||||
|
||||
Re-exports [RegionsResource](../regions/classes/regions.RegionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ReturnReasonsResource
|
||||
|
||||
Re-exports [ReturnReasonsResource](../return_reasons/classes/return_reasons.ReturnReasonsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ReturnsResource
|
||||
|
||||
Re-exports [ReturnsResource](../returns/classes/returns.ReturnsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### ShippingOptionsResource
|
||||
|
||||
Re-exports [ShippingOptionsResource](../shipping_options/classes/shipping_options.ShippingOptionsResource.mdx)
|
||||
|
||||
___
|
||||
|
||||
### SwapsResource
|
||||
|
||||
Re-exports [SwapsResource](../swaps/classes/swaps.SwapsResource.mdx)
|
||||
@@ -1,125 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Enumerations
|
||||
|
||||
- [UserRoles](../enums/internal-1.UserRoles.md)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminPostAuthReq](../classes/internal-1.AdminPostAuthReq.md)
|
||||
- [BaseEntity](../classes/internal-1.BaseEntity.md)
|
||||
- [SoftDeletableEntity](../classes/internal-1.SoftDeletableEntity.md)
|
||||
- [User](../classes/internal-1.User.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminAuthRes
|
||||
|
||||
Ƭ **AdminAuthRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminAuthRes
|
||||
type: object
|
||||
required:
|
||||
- user
|
||||
properties:
|
||||
user:
|
||||
description: User details.
|
||||
$ref: "#/components/schemas/User"
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `user` | [`Omit`](internal-1.md#omit)<[`User`](../classes/internal-1.User.md), ``"password_hash"``\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/auth/index.d.ts:14
|
||||
|
||||
___
|
||||
|
||||
### AdminBearerAuthRes
|
||||
|
||||
Ƭ **AdminBearerAuthRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminBearerAuthRes
|
||||
type: object
|
||||
properties:
|
||||
accessToken:
|
||||
description: Access token for subsequent authorization.
|
||||
type: string
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `access_token` | `string` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/auth/index.d.ts:25
|
||||
|
||||
___
|
||||
|
||||
### Exclude
|
||||
|
||||
Ƭ **Exclude**<`T`, `U`\>: `T` extends `U` ? `never` : `T`
|
||||
|
||||
Exclude from T those types that are assignable to U
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
| `U` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.es5.d.ts:1606
|
||||
|
||||
___
|
||||
|
||||
### Omit
|
||||
|
||||
Ƭ **Omit**<`T`, `K`\>: [`Pick`](internal-1.md#pick)<`T`, [`Exclude`](internal-1.md#exclude)<keyof `T`, `K`\>\>
|
||||
|
||||
Construct a type with the properties of T except for those in type K.
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `T` |
|
||||
| `K` | extends keyof `any` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.es5.d.ts:1616
|
||||
|
||||
___
|
||||
|
||||
### Pick
|
||||
|
||||
Ƭ **Pick**<`T`, `K`\>: { [P in K]: T[P] }
|
||||
|
||||
From T, pick a set of properties whose keys are in the union K
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `T` |
|
||||
| `K` | extends keyof `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.es5.d.ts:1592
|
||||
@@ -1,484 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Interfaces
|
||||
|
||||
- [BlobPropertyBag](../interfaces/internal-10.BlobPropertyBag.md)
|
||||
- [File](../interfaces/internal-10.File.md)
|
||||
- [FilePropertyBag](../interfaces/internal-10.FilePropertyBag.md)
|
||||
- [QueuingStrategy](../interfaces/internal-10.QueuingStrategy.md)
|
||||
- [QueuingStrategySize](../interfaces/internal-10.QueuingStrategySize.md)
|
||||
- [ReadableByteStreamController](../interfaces/internal-10.ReadableByteStreamController.md)
|
||||
- [ReadableStream](../interfaces/internal-10.ReadableStream.md)
|
||||
- [ReadableStreamBYOBReader](../interfaces/internal-10.ReadableStreamBYOBReader.md)
|
||||
- [ReadableStreamBYOBRequest](../interfaces/internal-10.ReadableStreamBYOBRequest.md)
|
||||
- [ReadableStreamDefaultController](../interfaces/internal-10.ReadableStreamDefaultController.md)
|
||||
- [ReadableStreamDefaultReader](../interfaces/internal-10.ReadableStreamDefaultReader.md)
|
||||
- [ReadableStreamGenericReader](../interfaces/internal-10.ReadableStreamGenericReader.md)
|
||||
- [ReadableStreamGetReaderOptions](../interfaces/internal-10.ReadableStreamGetReaderOptions.md)
|
||||
- [ReadableStreamReadDoneResult](../interfaces/internal-10.ReadableStreamReadDoneResult.md)
|
||||
- [ReadableStreamReadValueResult](../interfaces/internal-10.ReadableStreamReadValueResult.md)
|
||||
- [ReadableWritablePair](../interfaces/internal-10.ReadableWritablePair.md)
|
||||
- [StreamPipeOptions](../interfaces/internal-10.StreamPipeOptions.md)
|
||||
- [UnderlyingByteSource](../interfaces/internal-10.UnderlyingByteSource.md)
|
||||
- [UnderlyingDefaultSource](../interfaces/internal-10.UnderlyingDefaultSource.md)
|
||||
- [UnderlyingSink](../interfaces/internal-10.UnderlyingSink.md)
|
||||
- [UnderlyingSinkAbortCallback](../interfaces/internal-10.UnderlyingSinkAbortCallback.md)
|
||||
- [UnderlyingSinkCloseCallback](../interfaces/internal-10.UnderlyingSinkCloseCallback.md)
|
||||
- [UnderlyingSinkStartCallback](../interfaces/internal-10.UnderlyingSinkStartCallback.md)
|
||||
- [UnderlyingSinkWriteCallback](../interfaces/internal-10.UnderlyingSinkWriteCallback.md)
|
||||
- [UnderlyingSource](../interfaces/internal-10.UnderlyingSource.md)
|
||||
- [UnderlyingSourceCancelCallback](../interfaces/internal-10.UnderlyingSourceCancelCallback.md)
|
||||
- [UnderlyingSourcePullCallback](../interfaces/internal-10.UnderlyingSourcePullCallback.md)
|
||||
- [UnderlyingSourceStartCallback](../interfaces/internal-10.UnderlyingSourceStartCallback.md)
|
||||
- [WritableStream](../interfaces/internal-10.WritableStream.md)
|
||||
- [WritableStreamDefaultController](../interfaces/internal-10.WritableStreamDefaultController.md)
|
||||
- [WritableStreamDefaultWriter](../interfaces/internal-10.WritableStreamDefaultWriter.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminCreateUploadPayload
|
||||
|
||||
Ƭ **AdminCreateUploadPayload**: [`File`](internal-10.md#file) \| [`File`](internal-10.md#file)[]
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:51](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L51)
|
||||
|
||||
___
|
||||
|
||||
### BlobPart
|
||||
|
||||
Ƭ **BlobPart**: [`BufferSource`](internal-10.md#buffersource) \| `Blob` \| `string`
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:27961
|
||||
|
||||
___
|
||||
|
||||
### BufferSource
|
||||
|
||||
Ƭ **BufferSource**: [`ArrayBufferView`](../interfaces/internal-8.ArrayBufferView.md) \| `ArrayBuffer`
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:27963
|
||||
|
||||
___
|
||||
|
||||
### EndingType
|
||||
|
||||
Ƭ **EndingType**: ``"native"`` \| ``"transparent"``
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:28077
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamController
|
||||
|
||||
Ƭ **ReadableStreamController**<`T`\>: [`ReadableStreamDefaultController`](internal-10.md#readablestreamdefaultcontroller)<`T`\> \| [`ReadableByteStreamController`](internal-10.md#readablebytestreamcontroller)
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:28012
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamReadResult
|
||||
|
||||
Ƭ **ReadableStreamReadResult**<`T`\>: [`ReadableStreamReadValueResult`](../interfaces/internal-10.ReadableStreamReadValueResult.md)<`T`\> \| [`ReadableStreamReadDoneResult`](../interfaces/internal-10.ReadableStreamReadDoneResult.md)<`T`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:28013
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamReader
|
||||
|
||||
Ƭ **ReadableStreamReader**<`T`\>: [`ReadableStreamDefaultReader`](internal-10.md#readablestreamdefaultreader)<`T`\> \| [`ReadableStreamBYOBReader`](internal-10.md#readablestreambyobreader)
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:28014
|
||||
|
||||
## Variables
|
||||
|
||||
### File
|
||||
|
||||
• **File**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new File**(`fileBits`, `fileName`, `options?`): [`File`](internal-10.md#file)
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `fileBits` | [`BlobPart`](internal-10.md#blobpart)[] |
|
||||
| `fileName` | `string` |
|
||||
| `options?` | [`FilePropertyBag`](../interfaces/internal-10.FilePropertyBag.md) |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`File`](internal-10.md#file)
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`File`](internal-10.md#file) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:8260
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:8269
|
||||
|
||||
___
|
||||
|
||||
### ReadableByteStreamController
|
||||
|
||||
• **ReadableByteStreamController**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new ReadableByteStreamController**(): [`ReadableByteStreamController`](internal-10.md#readablebytestreamcontroller)
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableByteStreamController`](internal-10.md#readablebytestreamcontroller)
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`ReadableByteStreamController`](internal-10.md#readablebytestreamcontroller) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18464
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18477
|
||||
|
||||
___
|
||||
|
||||
### ReadableStream
|
||||
|
||||
• **ReadableStream**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new ReadableStream**(`underlyingSource`, `strategy?`): [`ReadableStream`](internal-10.md#readablestream)<`Uint8Array`\>
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `underlyingSource` | [`UnderlyingByteSource`](../interfaces/internal-10.UnderlyingByteSource.md) |
|
||||
| `strategy?` | `Object` |
|
||||
| `strategy.highWaterMark?` | `number` |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStream`](internal-10.md#readablestream)<`Uint8Array`\>
|
||||
|
||||
• **new ReadableStream**<`R`\>(`underlyingSource`, `strategy?`): [`ReadableStream`](internal-10.md#readablestream)<`R`\>
|
||||
|
||||
##### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `R` | `any` |
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `underlyingSource` | [`UnderlyingDefaultSource`](../interfaces/internal-10.UnderlyingDefaultSource.md)<`R`\> |
|
||||
| `strategy?` | [`QueuingStrategy`](../interfaces/internal-10.QueuingStrategy.md)<`R`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStream`](internal-10.md#readablestream)<`R`\>
|
||||
|
||||
• **new ReadableStream**<`R`\>(`underlyingSource?`, `strategy?`): [`ReadableStream`](internal-10.md#readablestream)<`R`\>
|
||||
|
||||
##### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `R` | `any` |
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `underlyingSource?` | [`UnderlyingSource`](../interfaces/internal-10.UnderlyingSource.md)<`R`\> |
|
||||
| `strategy?` | [`QueuingStrategy`](../interfaces/internal-10.QueuingStrategy.md)<`R`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStream`](internal-10.md#readablestream)<`R`\>
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`ReadableStream`](internal-10.md#readablestream)<`any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18487
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18504
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamBYOBReader
|
||||
|
||||
• **ReadableStreamBYOBReader**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new ReadableStreamBYOBReader**(`stream`): [`ReadableStreamBYOBReader`](internal-10.md#readablestreambyobreader)
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](internal-10.md#readablestream)<`any`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStreamBYOBReader`](internal-10.md#readablestreambyobreader)
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`ReadableStreamBYOBReader`](internal-10.md#readablestreambyobreader) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18512
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18519
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamBYOBRequest
|
||||
|
||||
• **ReadableStreamBYOBRequest**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new ReadableStreamBYOBRequest**(): [`ReadableStreamBYOBRequest`](internal-10.md#readablestreambyobrequest)
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStreamBYOBRequest`](internal-10.md#readablestreambyobrequest)
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`ReadableStreamBYOBRequest`](internal-10.md#readablestreambyobrequest) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18525
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18534
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamDefaultController
|
||||
|
||||
• **ReadableStreamDefaultController**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new ReadableStreamDefaultController**(): [`ReadableStreamDefaultController`](internal-10.md#readablestreamdefaultcontroller)<`any`\>
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStreamDefaultController`](internal-10.md#readablestreamdefaultcontroller)<`any`\>
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`ReadableStreamDefaultController`](internal-10.md#readablestreamdefaultcontroller)<`any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18540
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18551
|
||||
|
||||
___
|
||||
|
||||
### ReadableStreamDefaultReader
|
||||
|
||||
• **ReadableStreamDefaultReader**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new ReadableStreamDefaultReader**<`R`\>(`stream`): [`ReadableStreamDefaultReader`](internal-10.md#readablestreamdefaultreader)<`R`\>
|
||||
|
||||
##### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `R` | `any` |
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](internal-10.md#readablestream)<`R`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`ReadableStreamDefaultReader`](internal-10.md#readablestreamdefaultreader)<`R`\>
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`ReadableStreamDefaultReader`](internal-10.md#readablestreamdefaultreader)<`any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18557
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:18564
|
||||
|
||||
___
|
||||
|
||||
### WritableStream
|
||||
|
||||
• **WritableStream**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new WritableStream**<`W`\>(`underlyingSink?`, `strategy?`): [`WritableStream`](internal-10.md#writablestream)<`W`\>
|
||||
|
||||
##### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `W` | `any` |
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `underlyingSink?` | [`UnderlyingSink`](../interfaces/internal-10.UnderlyingSink.md)<`W`\> |
|
||||
| `strategy?` | [`QueuingStrategy`](../interfaces/internal-10.QueuingStrategy.md)<`W`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`WritableStream`](internal-10.md#writablestream)<`W`\>
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`WritableStream`](internal-10.md#writablestream)<`any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26020
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26031
|
||||
|
||||
___
|
||||
|
||||
### WritableStreamDefaultController
|
||||
|
||||
• **WritableStreamDefaultController**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new WritableStreamDefaultController**(): [`WritableStreamDefaultController`](internal-10.md#writablestreamdefaultcontroller)
|
||||
|
||||
##### Returns
|
||||
|
||||
[`WritableStreamDefaultController`](internal-10.md#writablestreamdefaultcontroller)
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`WritableStreamDefaultController`](internal-10.md#writablestreamdefaultcontroller) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26041
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26048
|
||||
|
||||
___
|
||||
|
||||
### WritableStreamDefaultWriter
|
||||
|
||||
• **WritableStreamDefaultWriter**: `Object`
|
||||
|
||||
#### Call signature
|
||||
|
||||
• **new WritableStreamDefaultWriter**<`W`\>(`stream`): [`WritableStreamDefaultWriter`](internal-10.md#writablestreamdefaultwriter)<`W`\>
|
||||
|
||||
##### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `W` | `any` |
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`WritableStream`](internal-10.md#writablestream)<`W`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`WritableStreamDefaultWriter`](internal-10.md#writablestreamdefaultwriter)<`W`\>
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `prototype` | [`WritableStreamDefaultWriter`](internal-10.md#writablestreamdefaultwriter)<`any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26058
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26075
|
||||
@@ -1,81 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminCreateUserPayload
|
||||
|
||||
Ƭ **AdminCreateUserPayload**: [`Omit`](internal-1.md#omit)<[`AdminCreateUserRequest`](../classes/internal-8.internal.AdminCreateUserRequest.md), ``"role"``\> \| { `role?`: [`CreateUserRoles`](internal-11.md#createuserroles) }
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:31](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L31)
|
||||
|
||||
___
|
||||
|
||||
### AdminUpdateUserPayload
|
||||
|
||||
Ƭ **AdminUpdateUserPayload**: [`Omit`](internal-1.md#omit)<[`AdminUpdateUserRequest`](../classes/internal-8.internal.AdminUpdateUserRequest.md), ``"role"``\> & { `role?`: [`UpdateUserRoles`](internal-11.md#updateuserroles) }
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:41](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L41)
|
||||
|
||||
___
|
||||
|
||||
### CreateUserRoles
|
||||
|
||||
Ƭ **CreateUserRoles**: \`${CreateUserRolesEnum}\`
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:28](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L28)
|
||||
|
||||
___
|
||||
|
||||
### CreateUserRolesEnum
|
||||
|
||||
Ƭ **CreateUserRolesEnum**: [`NoUndefined`](internal-11.md#noundefined)<[`AdminCreateUserRequest`](../classes/internal-8.internal.AdminCreateUserRequest.md)[``"role"``]\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:25](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L25)
|
||||
|
||||
___
|
||||
|
||||
### NoUndefined
|
||||
|
||||
Ƭ **NoUndefined**<`T`\>: `T` extends `undefined` ? `never` : `T`
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:23](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L23)
|
||||
|
||||
___
|
||||
|
||||
### UpdateUserRoles
|
||||
|
||||
Ƭ **UpdateUserRoles**: \`${UpdateUserRolesEnum}\`
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:39](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L39)
|
||||
|
||||
___
|
||||
|
||||
### UpdateUserRolesEnum
|
||||
|
||||
Ƭ **UpdateUserRolesEnum**: [`NoUndefined`](internal-11.md#noundefined)<[`AdminUpdateUserRequest`](../classes/internal-8.internal.AdminUpdateUserRequest.md)[``"role"``]\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:37](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L37)
|
||||
@@ -1,113 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Classes
|
||||
|
||||
- [Axios](../classes/internal-12.Axios.md)
|
||||
- [Client](../classes/internal-12.Client.md)
|
||||
|
||||
## Interfaces
|
||||
|
||||
- [AxiosAdapter](../interfaces/internal-12.AxiosAdapter.md)
|
||||
- [AxiosBasicCredentials](../interfaces/internal-12.AxiosBasicCredentials.md)
|
||||
- [AxiosDefaults](../interfaces/internal-12.AxiosDefaults.md)
|
||||
- [AxiosError](../interfaces/internal-12.AxiosError.md)
|
||||
- [AxiosInstance](../interfaces/internal-12.AxiosInstance.md)
|
||||
- [AxiosInterceptorManager](../interfaces/internal-12.AxiosInterceptorManager.md)
|
||||
- [AxiosPromise](../interfaces/internal-12.AxiosPromise.md)
|
||||
- [AxiosProxyConfig](../interfaces/internal-12.AxiosProxyConfig.md)
|
||||
- [AxiosRequestTransformer](../interfaces/internal-12.AxiosRequestTransformer.md)
|
||||
- [AxiosResponse](../interfaces/internal-12.AxiosResponse.md)
|
||||
- [AxiosResponseTransformer](../interfaces/internal-12.AxiosResponseTransformer.md)
|
||||
- [Cancel](../interfaces/internal-12.Cancel.md)
|
||||
- [CancelToken](../interfaces/internal-12.CancelToken.md)
|
||||
- [Config](../interfaces/internal-12.Config.md)
|
||||
- [HTTPResponse](../interfaces/internal-12.HTTPResponse.md)
|
||||
- [HeadersDefaults](../interfaces/internal-12.HeadersDefaults.md)
|
||||
- [RetryConfig](../interfaces/internal-12.RetryConfig.md)
|
||||
- [TransitionalOptions](../interfaces/internal-12.TransitionalOptions.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AxiosRequestHeaders
|
||||
|
||||
Ƭ **AxiosRequestHeaders**: [`Record`](internal.md#record)<`string`, `string`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:3
|
||||
|
||||
___
|
||||
|
||||
### AxiosResponseHeaders
|
||||
|
||||
Ƭ **AxiosResponseHeaders**: [`Record`](internal.md#record)<`string`, `string`\> & { `set-cookie?`: `string`[] }
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:5
|
||||
|
||||
___
|
||||
|
||||
### Method
|
||||
|
||||
Ƭ **Method**: ``"get"`` \| ``"GET"`` \| ``"delete"`` \| ``"DELETE"`` \| ``"head"`` \| ``"HEAD"`` \| ``"options"`` \| ``"OPTIONS"`` \| ``"post"`` \| ``"POST"`` \| ``"put"`` \| ``"PUT"`` \| ``"patch"`` \| ``"PATCH"`` \| ``"purge"`` \| ``"PURGE"`` \| ``"link"`` \| ``"LINK"`` \| ``"unlink"`` \| ``"UNLINK"``
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:36
|
||||
|
||||
___
|
||||
|
||||
### RequestMethod
|
||||
|
||||
Ƭ **RequestMethod**: ``"DELETE"`` \| ``"POST"`` \| ``"GET"``
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/request.ts:28](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/request.ts#L28)
|
||||
|
||||
___
|
||||
|
||||
### Response
|
||||
|
||||
Ƭ **Response**<`T`\>: `T` & { `response`: [`HTTPResponse`](../interfaces/internal-12.HTTPResponse.md) }
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:17](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L17)
|
||||
|
||||
___
|
||||
|
||||
### ResponsePromise
|
||||
|
||||
Ƭ **ResponsePromise**<`T`\>: `Promise`<[`Response`](internal-12.md#response)<`T`\>\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | `any` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:21](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L21)
|
||||
|
||||
___
|
||||
|
||||
### ResponseType
|
||||
|
||||
Ƭ **ResponseType**: ``"arraybuffer"`` \| ``"blob"`` \| ``"document"`` \| ``"json"`` \| ``"text"`` \| ``"stream"``
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/axios/index.d.ts:48
|
||||
@@ -1,136 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Enumerations
|
||||
|
||||
- [BatchJobStatus](../enums/internal-2.BatchJobStatus.md)
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminGetBatchPaginationParams](../classes/internal-2.AdminGetBatchPaginationParams.md)
|
||||
- [AdminGetBatchParams](../classes/internal-2.AdminGetBatchParams.md)
|
||||
- [AdminPostBatchesReq](../classes/internal-2.AdminPostBatchesReq.md)
|
||||
- [BatchJob](../classes/internal-2.BatchJob.md)
|
||||
- [DateComparisonOperator](../classes/internal-2.DateComparisonOperator.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminBatchJobListRes
|
||||
|
||||
Ƭ **AdminBatchJobListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `batch_jobs`: [`BatchJob`](../classes/internal-2.BatchJob.md)[] }
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminBatchJobListRes
|
||||
type: object
|
||||
required:
|
||||
- batch_jobs
|
||||
- count
|
||||
- offset
|
||||
- limit
|
||||
properties:
|
||||
batch_jobs:
|
||||
type: array
|
||||
description: An array of batch job details.
|
||||
items:
|
||||
$ref: "#/components/schemas/BatchJob"
|
||||
count:
|
||||
type: integer
|
||||
description: The total number of items available
|
||||
offset:
|
||||
type: integer
|
||||
description: The number of batch jobs skipped when retrieving the batch jobs.
|
||||
limit:
|
||||
type: integer
|
||||
description: The number of items per page
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/batch/index.d.ts:42
|
||||
|
||||
___
|
||||
|
||||
### AdminBatchJobRes
|
||||
|
||||
Ƭ **AdminBatchJobRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminBatchJobRes
|
||||
type: object
|
||||
required:
|
||||
- batch_job
|
||||
properties:
|
||||
batch_job:
|
||||
description: Batch job details.
|
||||
$ref: "#/components/schemas/BatchJob"
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `batch_job` | [`BatchJob`](../classes/internal-2.BatchJob.md) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/batch/index.d.ts:15
|
||||
|
||||
___
|
||||
|
||||
### BatchJobResultError
|
||||
|
||||
Ƭ **BatchJobResultError**: `Object`
|
||||
|
||||
#### Index signature
|
||||
|
||||
▪ [key: `string`]: `unknown`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `code` | `string` \| `number` |
|
||||
| `message` | `string` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/types/batch-job.d.ts:18
|
||||
|
||||
___
|
||||
|
||||
### BatchJobResultStatDescriptor
|
||||
|
||||
Ƭ **BatchJobResultStatDescriptor**: `Object`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `key` | `string` |
|
||||
| `message` | `string` |
|
||||
| `name` | `string` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/types/batch-job.d.ts:23
|
||||
|
||||
___
|
||||
|
||||
### PaginatedResponse
|
||||
|
||||
Ƭ **PaginatedResponse**: `Object`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `count` | `number` |
|
||||
| `limit` | `number` |
|
||||
| `offset` | `number` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/types/common.d.ts:70
|
||||
@@ -1,247 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Enumerations
|
||||
|
||||
- [AllocationType](../enums/internal-3.AllocationType.md)
|
||||
- [CartType](../enums/internal-3.CartType.md)
|
||||
- [ClaimFulfillmentStatus](../enums/internal-3.ClaimFulfillmentStatus.md)
|
||||
- [ClaimPaymentStatus](../enums/internal-3.ClaimPaymentStatus.md)
|
||||
- [ClaimReason](../enums/internal-3.ClaimReason.md)
|
||||
- [ClaimType](../enums/internal-3.ClaimType.md)
|
||||
- [DiscountConditionOperator](../enums/internal-3.DiscountConditionOperator.md)
|
||||
- [DiscountConditionType](../enums/internal-3.DiscountConditionType.md)
|
||||
- [DiscountRuleType](../enums/internal-3.DiscountRuleType.md)
|
||||
- [DraftOrderStatus](../enums/internal-3.DraftOrderStatus.md)
|
||||
- [FulfillmentStatus](../enums/internal-3.FulfillmentStatus.md)
|
||||
- [OrderEditItemChangeType](../enums/internal-3.OrderEditItemChangeType.md)
|
||||
- [OrderEditStatus](../enums/internal-3.OrderEditStatus.md)
|
||||
- [OrderStatus](../enums/internal-3.OrderStatus.md)
|
||||
- [PaymentCollectionStatus](../enums/internal-3.PaymentCollectionStatus.md)
|
||||
- [PaymentStatus](../enums/internal-3.PaymentStatus.md)
|
||||
- [PriceListStatus](../enums/internal-3.PriceListStatus.md)
|
||||
- [PriceListType](../enums/internal-3.PriceListType.md)
|
||||
- [ProductStatus](../enums/internal-3.ProductStatus.md)
|
||||
- [RequirementType](../enums/internal-3.RequirementType.md)
|
||||
- [ReturnStatus](../enums/internal-3.ReturnStatus.md)
|
||||
- [ShippingOptionPriceType](../enums/internal-3.ShippingOptionPriceType.md)
|
||||
- [ShippingProfileType](../enums/internal-3.ShippingProfileType.md)
|
||||
- [SwapFulfillmentStatus](../enums/internal-3.SwapFulfillmentStatus.md)
|
||||
- [SwapPaymentStatus](../enums/internal-3.SwapPaymentStatus.md)
|
||||
|
||||
## Classes
|
||||
|
||||
- [Address](../classes/internal-3.Address.md)
|
||||
- [AdminDeleteProductsFromCollectionReq](../classes/internal-3.AdminDeleteProductsFromCollectionReq.md)
|
||||
- [AdminGetCollectionsPaginationParams](../classes/internal-3.AdminGetCollectionsPaginationParams.md)
|
||||
- [AdminGetCollectionsParams](../classes/internal-3.AdminGetCollectionsParams.md)
|
||||
- [AdminPostCollectionsCollectionReq](../classes/internal-3.AdminPostCollectionsCollectionReq.md)
|
||||
- [AdminPostCollectionsReq](../classes/internal-3.AdminPostCollectionsReq.md)
|
||||
- [AdminPostProductsToCollectionReq](../classes/internal-3.AdminPostProductsToCollectionReq.md)
|
||||
- [Cart](../classes/internal-3.Cart.md)
|
||||
- [ClaimImage](../classes/internal-3.ClaimImage.md)
|
||||
- [ClaimItem](../classes/internal-3.ClaimItem.md)
|
||||
- [ClaimOrder](../classes/internal-3.ClaimOrder.md)
|
||||
- [ClaimTag](../classes/internal-3.ClaimTag.md)
|
||||
- [Country](../classes/internal-3.Country.md)
|
||||
- [Currency](../classes/internal-3.Currency.md)
|
||||
- [Customer](../classes/internal-3.Customer.md)
|
||||
- [CustomerGroup](../classes/internal-3.CustomerGroup.md)
|
||||
- [Discount](../classes/internal-3.Discount.md)
|
||||
- [DiscountCondition](../classes/internal-3.DiscountCondition.md)
|
||||
- [DiscountRule](../classes/internal-3.DiscountRule.md)
|
||||
- [DraftOrder](../classes/internal-3.DraftOrder.md)
|
||||
- [Fulfillment](../classes/internal-3.Fulfillment.md)
|
||||
- [FulfillmentItem](../classes/internal-3.FulfillmentItem.md)
|
||||
- [FulfillmentProvider](../classes/internal-3.FulfillmentProvider.md)
|
||||
- [GiftCard](../classes/internal-3.GiftCard.md)
|
||||
- [GiftCardTransaction](../classes/internal-3.GiftCardTransaction.md)
|
||||
- [Image](../classes/internal-3.Image.md)
|
||||
- [LineItem](../classes/internal-3.LineItem.md)
|
||||
- [LineItemAdjustment](../classes/internal-3.LineItemAdjustment.md)
|
||||
- [LineItemTaxLine](../classes/internal-3.LineItemTaxLine.md)
|
||||
- [MoneyAmount](../classes/internal-3.MoneyAmount.md)
|
||||
- [Order](../classes/internal-3.Order.md)
|
||||
- [OrderEdit](../classes/internal-3.OrderEdit.md)
|
||||
- [OrderItemChange](../classes/internal-3.OrderItemChange.md)
|
||||
- [Payment](../classes/internal-3.Payment.md)
|
||||
- [PaymentCollection](../classes/internal-3.PaymentCollection.md)
|
||||
- [PaymentProvider](../classes/internal-3.PaymentProvider.md)
|
||||
- [PaymentSession](../classes/internal-3.PaymentSession.md)
|
||||
- [PriceList](../classes/internal-3.PriceList.md)
|
||||
- [Product](../classes/internal-3.Product.md)
|
||||
- [ProductCategory](../classes/internal-3.ProductCategory.md)
|
||||
- [ProductCollection](../classes/internal-3.ProductCollection.md)
|
||||
- [ProductOption](../classes/internal-3.ProductOption.md)
|
||||
- [ProductOptionValue](../classes/internal-3.ProductOptionValue.md)
|
||||
- [ProductTag](../classes/internal-3.ProductTag.md)
|
||||
- [ProductType](../classes/internal-3.ProductType.md)
|
||||
- [ProductVariant](../classes/internal-3.ProductVariant.md)
|
||||
- [ProductVariantInventoryItem](../classes/internal-3.ProductVariantInventoryItem.md)
|
||||
- [Refund](../classes/internal-3.Refund.md)
|
||||
- [Region](../classes/internal-3.Region.md)
|
||||
- [Return](../classes/internal-3.Return.md)
|
||||
- [ReturnItem](../classes/internal-3.ReturnItem.md)
|
||||
- [ReturnReason](../classes/internal-3.ReturnReason.md)
|
||||
- [SalesChannel](../classes/internal-3.SalesChannel.md)
|
||||
- [SalesChannelLocation](../classes/internal-3.SalesChannelLocation.md)
|
||||
- [ShippingMethod](../classes/internal-3.ShippingMethod.md)
|
||||
- [ShippingMethodTaxLine](../classes/internal-3.ShippingMethodTaxLine.md)
|
||||
- [ShippingOption](../classes/internal-3.ShippingOption.md)
|
||||
- [ShippingOptionRequirement](../classes/internal-3.ShippingOptionRequirement.md)
|
||||
- [ShippingProfile](../classes/internal-3.ShippingProfile.md)
|
||||
- [Swap](../classes/internal-3.Swap.md)
|
||||
- [TaxLine](../classes/internal-3.TaxLine.md)
|
||||
- [TaxProvider](../classes/internal-3.TaxProvider.md)
|
||||
- [TaxRate](../classes/internal-3.TaxRate.md)
|
||||
- [TrackingLink](../classes/internal-3.TrackingLink.md)
|
||||
|
||||
## Interfaces
|
||||
|
||||
- [Boolean](../interfaces/internal-3.Boolean.md)
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
### ORDER\_EDIT
|
||||
|
||||
• **ORDER\_EDIT**: ``"order_edit"``
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/models/payment-collection.d.ts:11
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminCollectionsListRes
|
||||
|
||||
Ƭ **AdminCollectionsListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `collections`: [`ProductCollection`](../classes/internal-3.ProductCollection.md)[] }
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCollectionsListRes
|
||||
type: object
|
||||
required:
|
||||
- collections
|
||||
- count
|
||||
- offset
|
||||
- limit
|
||||
properties:
|
||||
collections:
|
||||
type: array
|
||||
description: an array of collection details
|
||||
items:
|
||||
$ref: "#/components/schemas/ProductCollection"
|
||||
count:
|
||||
type: integer
|
||||
description: The total number of items available
|
||||
offset:
|
||||
type: integer
|
||||
description: The number of product collections skipped when retrieving the product collections.
|
||||
limit:
|
||||
type: integer
|
||||
description: The number of items per page
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/collections/index.d.ts:32
|
||||
|
||||
___
|
||||
|
||||
### AdminCollectionsRes
|
||||
|
||||
Ƭ **AdminCollectionsRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCollectionsRes
|
||||
type: object
|
||||
x-expanded-relations:
|
||||
field: collection
|
||||
relations:
|
||||
- products
|
||||
required:
|
||||
- collection
|
||||
properties:
|
||||
collection:
|
||||
type: "Product Collection details."
|
||||
$ref: "#/components/schemas/ProductCollection"
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `collection` | [`ProductCollection`](../classes/internal-3.ProductCollection.md) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/collections/index.d.ts:97
|
||||
|
||||
___
|
||||
|
||||
### AdminDeleteProductsFromCollectionRes
|
||||
|
||||
Ƭ **AdminDeleteProductsFromCollectionRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminDeleteProductsFromCollectionRes
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
- object
|
||||
- removed_products
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
description: "The ID of the collection"
|
||||
object:
|
||||
type: string
|
||||
description: "The type of object the removal was executed on"
|
||||
default: product-collection
|
||||
removed_products:
|
||||
description: "The IDs of the products removed from the collection"
|
||||
type: array
|
||||
items:
|
||||
description: "The ID of the Product removed from the Product Collection."
|
||||
type: string
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `id` | `string` |
|
||||
| `object` | `string` |
|
||||
| `removed_products` | `string`[] |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/collections/index.d.ts:78
|
||||
|
||||
## Functions
|
||||
|
||||
### Boolean
|
||||
|
||||
▸ **Boolean**<`T`\>(`value?`): `boolean`
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `value?` | `T` |
|
||||
|
||||
#### Returns
|
||||
|
||||
`boolean`
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.es5.d.ts:553
|
||||
@@ -1,73 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminGetCurrenciesParams](../classes/internal-4.AdminGetCurrenciesParams.md)
|
||||
- [AdminPostCurrenciesCurrencyReq](../classes/internal-4.AdminPostCurrenciesCurrencyReq.md)
|
||||
- [FindPaginationParams](../classes/internal-4.FindPaginationParams.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminCurrenciesListRes
|
||||
|
||||
Ƭ **AdminCurrenciesListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `currencies`: [`Currency`](../classes/internal-3.Currency.md)[] }
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCurrenciesListRes
|
||||
type: object
|
||||
required:
|
||||
- currencies
|
||||
- count
|
||||
- offset
|
||||
- limit
|
||||
properties:
|
||||
currencies:
|
||||
type: array
|
||||
description: An array of currency details.
|
||||
items:
|
||||
$ref: "#/components/schemas/Currency"
|
||||
count:
|
||||
type: integer
|
||||
description: The total number of items available
|
||||
offset:
|
||||
type: integer
|
||||
description: The number of currencies skipped when retrieving the currencies.
|
||||
limit:
|
||||
type: integer
|
||||
description: The number of items per page
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/currencies/index.d.ts:29
|
||||
|
||||
___
|
||||
|
||||
### AdminCurrenciesRes
|
||||
|
||||
Ƭ **AdminCurrenciesRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCurrenciesRes
|
||||
type: object
|
||||
required:
|
||||
- currency
|
||||
properties:
|
||||
currency:
|
||||
description: Currency details.
|
||||
$ref: "#/components/schemas/Currency"
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `currency` | [`Currency`](../classes/internal-3.Currency.md) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/currencies/index.d.ts:42
|
||||
@@ -1,9 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Interfaces
|
||||
|
||||
- [RequestOptions](../interfaces/internal-5.RequestOptions.md)
|
||||
@@ -1,80 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminDeleteCustomerGroupsGroupCustomerBatchReq](../classes/internal-6.AdminDeleteCustomerGroupsGroupCustomerBatchReq.md)
|
||||
- [AdminGetCustomerGroupsGroupParams](../classes/internal-6.AdminGetCustomerGroupsGroupParams.md)
|
||||
- [AdminGetCustomerGroupsParams](../classes/internal-6.AdminGetCustomerGroupsParams.md)
|
||||
- [AdminPostCustomerGroupsGroupCustomersBatchReq](../classes/internal-6.AdminPostCustomerGroupsGroupCustomersBatchReq.md)
|
||||
- [AdminPostCustomerGroupsGroupReq](../classes/internal-6.AdminPostCustomerGroupsGroupReq.md)
|
||||
- [AdminPostCustomerGroupsReq](../classes/internal-6.AdminPostCustomerGroupsReq.md)
|
||||
- [CustomerGroupsBatchCustomer](../classes/internal-6.CustomerGroupsBatchCustomer.md)
|
||||
- [FilterableCustomerGroupProps](../classes/internal-6.FilterableCustomerGroupProps.md)
|
||||
- [FindParams](../classes/internal-6.FindParams.md)
|
||||
- [StringComparisonOperator](../classes/internal-6.StringComparisonOperator.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminCustomerGroupsListRes
|
||||
|
||||
Ƭ **AdminCustomerGroupsListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `customer_groups`: [`CustomerGroup`](../classes/internal-3.CustomerGroup.md)[] }
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCustomerGroupsListRes
|
||||
type: object
|
||||
required:
|
||||
- customer_groups
|
||||
- count
|
||||
- offset
|
||||
- limit
|
||||
properties:
|
||||
customer_groups:
|
||||
type: array
|
||||
description: An array of customer group details.
|
||||
items:
|
||||
$ref: "#/components/schemas/CustomerGroup"
|
||||
count:
|
||||
type: integer
|
||||
description: The total number of items available
|
||||
offset:
|
||||
type: integer
|
||||
description: The number of customer groups skipped when retrieving the customer groups.
|
||||
limit:
|
||||
type: integer
|
||||
description: The number of items per page
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/customer-groups/index.d.ts:63
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomerGroupsRes
|
||||
|
||||
Ƭ **AdminCustomerGroupsRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCustomerGroupsRes
|
||||
type: object
|
||||
required:
|
||||
- customer_group
|
||||
properties:
|
||||
customer_group:
|
||||
description: Customer group details.
|
||||
$ref: "#/components/schemas/CustomerGroup"
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `customer_group` | [`CustomerGroup`](../classes/internal-3.CustomerGroup.md) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/customer-groups/index.d.ts:15
|
||||
@@ -1,80 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Classes
|
||||
|
||||
- [AdminGetCustomersParams](../classes/internal-7.AdminGetCustomersParams.md)
|
||||
- [AdminListCustomerSelector](../classes/internal-7.AdminListCustomerSelector.md)
|
||||
- [AdminPostCustomersCustomerReq](../classes/internal-7.AdminPostCustomersCustomerReq.md)
|
||||
- [AdminPostCustomersReq](../classes/internal-7.AdminPostCustomersReq.md)
|
||||
- [Group](../classes/internal-7.Group.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminCustomersListRes
|
||||
|
||||
Ƭ **AdminCustomersListRes**: [`PaginatedResponse`](internal-2.md#paginatedresponse) & { `customers`: [`Customer`](../classes/internal-3.Customer.md)[] }
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCustomersListRes
|
||||
type: object
|
||||
required:
|
||||
- customers
|
||||
- count
|
||||
- offset
|
||||
- limit
|
||||
properties:
|
||||
customers:
|
||||
type: array
|
||||
description: "An array of customer details."
|
||||
items:
|
||||
$ref: "#/components/schemas/Customer"
|
||||
count:
|
||||
type: integer
|
||||
description: The total number of items available
|
||||
offset:
|
||||
type: integer
|
||||
description: The number of customers skipped when retrieving the customers.
|
||||
limit:
|
||||
type: integer
|
||||
description: The number of items per page
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/customers/index.d.ts:47
|
||||
|
||||
___
|
||||
|
||||
### AdminCustomersRes
|
||||
|
||||
Ƭ **AdminCustomersRes**: `Object`
|
||||
|
||||
**`Schema`**
|
||||
|
||||
AdminCustomersRes
|
||||
type: object
|
||||
x-expanded-relations:
|
||||
field: customer
|
||||
relations:
|
||||
- orders
|
||||
- shipping_addresses
|
||||
required:
|
||||
- customer
|
||||
properties:
|
||||
customer:
|
||||
description: "Customer details."
|
||||
$ref: "#/components/schemas/Customer"
|
||||
|
||||
#### Type declaration
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `customer` | [`Customer`](../classes/internal-3.Customer.md) |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa/dist/api/routes/admin/customers/index.d.ts:20
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: EventEmitter
|
||||
|
||||
[internal](internal-8.md).EventEmitter
|
||||
|
||||
## Interfaces
|
||||
|
||||
- [Abortable](../interfaces/internal-8.EventEmitter.Abortable.md)
|
||||
|
||||
## References
|
||||
|
||||
### EventEmitter
|
||||
|
||||
Re-exports [EventEmitter](../classes/internal-8.EventEmitter-1.md)
|
||||
@@ -1,643 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: internal
|
||||
|
||||
[internal](internal-8.md).internal
|
||||
|
||||
## References
|
||||
|
||||
### Address
|
||||
|
||||
Re-exports [Address](../classes/internal-3.Address.md)
|
||||
|
||||
___
|
||||
|
||||
### AllocationType
|
||||
|
||||
Re-exports [AllocationType](../enums/internal-3.AllocationType.md)
|
||||
|
||||
___
|
||||
|
||||
### AnalyticsConfig
|
||||
|
||||
Re-exports [AnalyticsConfig](../classes/internal-8.internal.AnalyticsConfig.md)
|
||||
|
||||
___
|
||||
|
||||
### BatchJob
|
||||
|
||||
Re-exports [BatchJob](../classes/internal-2.BatchJob.md)
|
||||
|
||||
___
|
||||
|
||||
### Cart
|
||||
|
||||
Re-exports [Cart](../classes/internal-3.Cart.md)
|
||||
|
||||
___
|
||||
|
||||
### CartType
|
||||
|
||||
Re-exports [CartType](../enums/internal-3.CartType.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimFulfillmentStatus
|
||||
|
||||
Re-exports [ClaimFulfillmentStatus](../enums/internal-3.ClaimFulfillmentStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimImage
|
||||
|
||||
Re-exports [ClaimImage](../classes/internal-3.ClaimImage.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimItem
|
||||
|
||||
Re-exports [ClaimItem](../classes/internal-3.ClaimItem.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimOrder
|
||||
|
||||
Re-exports [ClaimOrder](../classes/internal-3.ClaimOrder.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimPaymentStatus
|
||||
|
||||
Re-exports [ClaimPaymentStatus](../enums/internal-3.ClaimPaymentStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimReason
|
||||
|
||||
Re-exports [ClaimReason](../enums/internal-3.ClaimReason.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimTag
|
||||
|
||||
Re-exports [ClaimTag](../classes/internal-3.ClaimTag.md)
|
||||
|
||||
___
|
||||
|
||||
### ClaimType
|
||||
|
||||
Re-exports [ClaimType](../enums/internal-3.ClaimType.md)
|
||||
|
||||
___
|
||||
|
||||
### Country
|
||||
|
||||
Re-exports [Country](../classes/internal-3.Country.md)
|
||||
|
||||
___
|
||||
|
||||
### Currency
|
||||
|
||||
Re-exports [Currency](../classes/internal-3.Currency.md)
|
||||
|
||||
___
|
||||
|
||||
### CustomShippingOption
|
||||
|
||||
Re-exports [CustomShippingOption](../classes/internal-8.internal.CustomShippingOption.md)
|
||||
|
||||
___
|
||||
|
||||
### Customer
|
||||
|
||||
Re-exports [Customer](../classes/internal-3.Customer.md)
|
||||
|
||||
___
|
||||
|
||||
### CustomerGroup
|
||||
|
||||
Re-exports [CustomerGroup](../classes/internal-3.CustomerGroup.md)
|
||||
|
||||
___
|
||||
|
||||
### Discount
|
||||
|
||||
Re-exports [Discount](../classes/internal-3.Discount.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountCondition
|
||||
|
||||
Re-exports [DiscountCondition](../classes/internal-3.DiscountCondition.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionCustomerGroup
|
||||
|
||||
Re-exports [DiscountConditionCustomerGroup](../classes/internal-8.internal.DiscountConditionCustomerGroup.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionOperator
|
||||
|
||||
Re-exports [DiscountConditionOperator](../enums/internal-3.DiscountConditionOperator.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionProduct
|
||||
|
||||
Re-exports [DiscountConditionProduct](../classes/internal-8.internal.DiscountConditionProduct.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionProductCollection
|
||||
|
||||
Re-exports [DiscountConditionProductCollection](../classes/internal-8.internal.DiscountConditionProductCollection.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionProductTag
|
||||
|
||||
Re-exports [DiscountConditionProductTag](../classes/internal-8.internal.DiscountConditionProductTag.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionProductType
|
||||
|
||||
Re-exports [DiscountConditionProductType](../classes/internal-8.internal.DiscountConditionProductType.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountConditionType
|
||||
|
||||
Re-exports [DiscountConditionType](../enums/internal-3.DiscountConditionType.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountRule
|
||||
|
||||
Re-exports [DiscountRule](../classes/internal-3.DiscountRule.md)
|
||||
|
||||
___
|
||||
|
||||
### DiscountRuleType
|
||||
|
||||
Re-exports [DiscountRuleType](../enums/internal-3.DiscountRuleType.md)
|
||||
|
||||
___
|
||||
|
||||
### DraftOrder
|
||||
|
||||
Re-exports [DraftOrder](../classes/internal-3.DraftOrder.md)
|
||||
|
||||
___
|
||||
|
||||
### DraftOrderStatus
|
||||
|
||||
Re-exports [DraftOrderStatus](../enums/internal-3.DraftOrderStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### Fulfillment
|
||||
|
||||
Re-exports [Fulfillment](../classes/internal-3.Fulfillment.md)
|
||||
|
||||
___
|
||||
|
||||
### FulfillmentItem
|
||||
|
||||
Re-exports [FulfillmentItem](../classes/internal-3.FulfillmentItem.md)
|
||||
|
||||
___
|
||||
|
||||
### FulfillmentProvider
|
||||
|
||||
Re-exports [FulfillmentProvider](../classes/internal-3.FulfillmentProvider.md)
|
||||
|
||||
___
|
||||
|
||||
### FulfillmentStatus
|
||||
|
||||
Re-exports [FulfillmentStatus](../enums/internal-3.FulfillmentStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### GiftCard
|
||||
|
||||
Re-exports [GiftCard](../classes/internal-3.GiftCard.md)
|
||||
|
||||
___
|
||||
|
||||
### GiftCardTransaction
|
||||
|
||||
Re-exports [GiftCardTransaction](../classes/internal-3.GiftCardTransaction.md)
|
||||
|
||||
___
|
||||
|
||||
### IdempotencyKey
|
||||
|
||||
Re-exports [IdempotencyKey](../classes/internal-8.internal.IdempotencyKey.md)
|
||||
|
||||
___
|
||||
|
||||
### Image
|
||||
|
||||
Re-exports [Image](../classes/internal-3.Image.md)
|
||||
|
||||
___
|
||||
|
||||
### Invite
|
||||
|
||||
Re-exports [Invite](../classes/internal-8.internal.Invite.md)
|
||||
|
||||
___
|
||||
|
||||
### LineItem
|
||||
|
||||
Re-exports [LineItem](../classes/internal-3.LineItem.md)
|
||||
|
||||
___
|
||||
|
||||
### LineItemAdjustment
|
||||
|
||||
Re-exports [LineItemAdjustment](../classes/internal-3.LineItemAdjustment.md)
|
||||
|
||||
___
|
||||
|
||||
### LineItemTaxLine
|
||||
|
||||
Re-exports [LineItemTaxLine](../classes/internal-3.LineItemTaxLine.md)
|
||||
|
||||
___
|
||||
|
||||
### MoneyAmount
|
||||
|
||||
Re-exports [MoneyAmount](../classes/internal-3.MoneyAmount.md)
|
||||
|
||||
___
|
||||
|
||||
### Note
|
||||
|
||||
Re-exports [Note](../classes/internal-8.internal.Note.md)
|
||||
|
||||
___
|
||||
|
||||
### Notification
|
||||
|
||||
Re-exports [Notification](../classes/internal-8.internal.Notification.md)
|
||||
|
||||
___
|
||||
|
||||
### Oauth
|
||||
|
||||
Re-exports [Oauth](../classes/internal-8.internal.Oauth.md)
|
||||
|
||||
___
|
||||
|
||||
### Order
|
||||
|
||||
Re-exports [Order](../classes/internal-3.Order.md)
|
||||
|
||||
___
|
||||
|
||||
### OrderEdit
|
||||
|
||||
Re-exports [OrderEdit](../classes/internal-3.OrderEdit.md)
|
||||
|
||||
___
|
||||
|
||||
### OrderEditItemChangeType
|
||||
|
||||
Re-exports [OrderEditItemChangeType](../enums/internal-3.OrderEditItemChangeType.md)
|
||||
|
||||
___
|
||||
|
||||
### OrderEditStatus
|
||||
|
||||
Re-exports [OrderEditStatus](../enums/internal-3.OrderEditStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### OrderItemChange
|
||||
|
||||
Re-exports [OrderItemChange](../classes/internal-3.OrderItemChange.md)
|
||||
|
||||
___
|
||||
|
||||
### OrderStatus
|
||||
|
||||
Re-exports [OrderStatus](../enums/internal-3.OrderStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### Payment
|
||||
|
||||
Re-exports [Payment](../classes/internal-3.Payment.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentCollection
|
||||
|
||||
Re-exports [PaymentCollection](../classes/internal-3.PaymentCollection.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentCollectionStatus
|
||||
|
||||
Re-exports [PaymentCollectionStatus](../enums/internal-3.PaymentCollectionStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentCollectionType
|
||||
|
||||
Re-exports [PaymentCollectionType](../enums/internal-8.internal.PaymentCollectionType.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentProvider
|
||||
|
||||
Re-exports [PaymentProvider](../classes/internal-3.PaymentProvider.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentSession
|
||||
|
||||
Re-exports [PaymentSession](../classes/internal-3.PaymentSession.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentSessionStatus
|
||||
|
||||
Re-exports [PaymentSessionStatus](../enums/internal-8.internal.PaymentSessionStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### PaymentStatus
|
||||
|
||||
Re-exports [PaymentStatus](../enums/internal-3.PaymentStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### PriceList
|
||||
|
||||
Re-exports [PriceList](../classes/internal-3.PriceList.md)
|
||||
|
||||
___
|
||||
|
||||
### Product
|
||||
|
||||
Re-exports [Product](../classes/internal-3.Product.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductCategory
|
||||
|
||||
Re-exports [ProductCategory](../classes/internal-3.ProductCategory.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductCollection
|
||||
|
||||
Re-exports [ProductCollection](../classes/internal-3.ProductCollection.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductOption
|
||||
|
||||
Re-exports [ProductOption](../classes/internal-3.ProductOption.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductOptionValue
|
||||
|
||||
Re-exports [ProductOptionValue](../classes/internal-3.ProductOptionValue.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductStatus
|
||||
|
||||
Re-exports [ProductStatus](../enums/internal-3.ProductStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductTag
|
||||
|
||||
Re-exports [ProductTag](../classes/internal-3.ProductTag.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductTaxRate
|
||||
|
||||
Re-exports [ProductTaxRate](../classes/internal-8.internal.ProductTaxRate.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductType
|
||||
|
||||
Re-exports [ProductType](../classes/internal-3.ProductType.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductTypeTaxRate
|
||||
|
||||
Re-exports [ProductTypeTaxRate](../classes/internal-8.internal.ProductTypeTaxRate.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductVariant
|
||||
|
||||
Re-exports [ProductVariant](../classes/internal-3.ProductVariant.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductVariantInventoryItem
|
||||
|
||||
Re-exports [ProductVariantInventoryItem](../classes/internal-3.ProductVariantInventoryItem.md)
|
||||
|
||||
___
|
||||
|
||||
### ProductVariantMoneyAmount
|
||||
|
||||
Re-exports [ProductVariantMoneyAmount](../classes/internal-8.internal.ProductVariantMoneyAmount.md)
|
||||
|
||||
___
|
||||
|
||||
### PublishableApiKey
|
||||
|
||||
Re-exports [PublishableApiKey](../classes/internal-8.internal.PublishableApiKey.md)
|
||||
|
||||
___
|
||||
|
||||
### PublishableApiKeySalesChannel
|
||||
|
||||
Re-exports [PublishableApiKeySalesChannel](../classes/internal-8.internal.PublishableApiKeySalesChannel.md)
|
||||
|
||||
___
|
||||
|
||||
### Refund
|
||||
|
||||
Re-exports [Refund](../classes/internal-3.Refund.md)
|
||||
|
||||
___
|
||||
|
||||
### RefundReason
|
||||
|
||||
Re-exports [RefundReason](../enums/internal-8.internal.RefundReason.md)
|
||||
|
||||
___
|
||||
|
||||
### Region
|
||||
|
||||
Re-exports [Region](../classes/internal-3.Region.md)
|
||||
|
||||
___
|
||||
|
||||
### RequirementType
|
||||
|
||||
Re-exports [RequirementType](../enums/internal-3.RequirementType.md)
|
||||
|
||||
___
|
||||
|
||||
### Return
|
||||
|
||||
Re-exports [Return](../classes/internal-3.Return.md)
|
||||
|
||||
___
|
||||
|
||||
### ReturnItem
|
||||
|
||||
Re-exports [ReturnItem](../classes/internal-3.ReturnItem.md)
|
||||
|
||||
___
|
||||
|
||||
### ReturnReason
|
||||
|
||||
Re-exports [ReturnReason](../classes/internal-3.ReturnReason.md)
|
||||
|
||||
___
|
||||
|
||||
### ReturnStatus
|
||||
|
||||
Re-exports [ReturnStatus](../enums/internal-3.ReturnStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### SalesChannel
|
||||
|
||||
Re-exports [SalesChannel](../classes/internal-3.SalesChannel.md)
|
||||
|
||||
___
|
||||
|
||||
### SalesChannelLocation
|
||||
|
||||
Re-exports [SalesChannelLocation](../classes/internal-3.SalesChannelLocation.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingMethod
|
||||
|
||||
Re-exports [ShippingMethod](../classes/internal-3.ShippingMethod.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingMethodTaxLine
|
||||
|
||||
Re-exports [ShippingMethodTaxLine](../classes/internal-3.ShippingMethodTaxLine.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingOption
|
||||
|
||||
Re-exports [ShippingOption](../classes/internal-3.ShippingOption.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingOptionPriceType
|
||||
|
||||
Re-exports [ShippingOptionPriceType](../enums/internal-3.ShippingOptionPriceType.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingOptionRequirement
|
||||
|
||||
Re-exports [ShippingOptionRequirement](../classes/internal-3.ShippingOptionRequirement.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingProfile
|
||||
|
||||
Re-exports [ShippingProfile](../classes/internal-3.ShippingProfile.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingProfileType
|
||||
|
||||
Re-exports [ShippingProfileType](../enums/internal-3.ShippingProfileType.md)
|
||||
|
||||
___
|
||||
|
||||
### ShippingTaxRate
|
||||
|
||||
Re-exports [ShippingTaxRate](../classes/internal-8.internal.ShippingTaxRate.md)
|
||||
|
||||
___
|
||||
|
||||
### StagedJob
|
||||
|
||||
Re-exports [StagedJob](../classes/internal-8.internal.StagedJob.md)
|
||||
|
||||
___
|
||||
|
||||
### Store
|
||||
|
||||
Re-exports [Store](../classes/internal-8.internal.Store.md)
|
||||
|
||||
___
|
||||
|
||||
### Swap
|
||||
|
||||
Re-exports [Swap](../classes/internal-3.Swap.md)
|
||||
|
||||
___
|
||||
|
||||
### SwapFulfillmentStatus
|
||||
|
||||
Re-exports [SwapFulfillmentStatus](../enums/internal-3.SwapFulfillmentStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### SwapPaymentStatus
|
||||
|
||||
Re-exports [SwapPaymentStatus](../enums/internal-3.SwapPaymentStatus.md)
|
||||
|
||||
___
|
||||
|
||||
### TaxProvider
|
||||
|
||||
Re-exports [TaxProvider](../classes/internal-3.TaxProvider.md)
|
||||
|
||||
___
|
||||
|
||||
### TaxRate
|
||||
|
||||
Re-exports [TaxRate](../classes/internal-3.TaxRate.md)
|
||||
|
||||
___
|
||||
|
||||
### TrackingLink
|
||||
|
||||
Re-exports [TrackingLink](../classes/internal-3.TrackingLink.md)
|
||||
|
||||
___
|
||||
|
||||
### User
|
||||
|
||||
Re-exports [User](../classes/internal-1.User.md)
|
||||
|
||||
___
|
||||
|
||||
### UserRoles
|
||||
|
||||
Re-exports [UserRoles](../enums/internal-1.UserRoles.md)
|
||||
@@ -1,28 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: finished
|
||||
|
||||
[internal](internal-8.md).[internal](internal-8.internal-2.md).finished
|
||||
|
||||
## Functions
|
||||
|
||||
### \_\_promisify\_\_
|
||||
|
||||
▸ **__promisify__**(`stream`, `options?`): `Promise`<`void`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) |
|
||||
| `options?` | [`FinishedOptions`](../interfaces/internal-8.internal-2.FinishedOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1230
|
||||
@@ -1,835 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: internal
|
||||
|
||||
[internal](internal-8.md).internal
|
||||
|
||||
## Namespaces
|
||||
|
||||
- [finished](internal-8.internal-2.finished.md)
|
||||
- [pipeline](internal-8.internal-2.pipeline.md)
|
||||
|
||||
## Classes
|
||||
|
||||
- [Writable](../classes/internal-8.internal-2.Writable.md)
|
||||
|
||||
## Interfaces
|
||||
|
||||
- [FinishedOptions](../interfaces/internal-8.internal-2.FinishedOptions.md)
|
||||
- [Pipe](../interfaces/internal-8.internal-2.Pipe.md)
|
||||
- [PipelineOptions](../interfaces/internal-8.internal-2.PipelineOptions.md)
|
||||
- [ReadableOptions](../interfaces/internal-8.internal-2.ReadableOptions.md)
|
||||
- [StreamOptions](../interfaces/internal-8.internal-2.StreamOptions.md)
|
||||
- [WritableOptions](../interfaces/internal-8.internal-2.WritableOptions.md)
|
||||
|
||||
## References
|
||||
|
||||
### Duplex
|
||||
|
||||
Re-exports [Duplex](../classes/internal-8.Duplex.md)
|
||||
|
||||
___
|
||||
|
||||
### DuplexOptions
|
||||
|
||||
Re-exports [DuplexOptions](../interfaces/internal-8.DuplexOptions.md)
|
||||
|
||||
___
|
||||
|
||||
### PassThrough
|
||||
|
||||
Re-exports [PassThrough](../classes/internal-8.PassThrough.md)
|
||||
|
||||
___
|
||||
|
||||
### Readable
|
||||
|
||||
Re-exports [Readable](../classes/internal-8.Readable.md)
|
||||
|
||||
___
|
||||
|
||||
### Stream
|
||||
|
||||
Re-exports [Stream](../classes/internal-8.Stream.md)
|
||||
|
||||
___
|
||||
|
||||
### Transform
|
||||
|
||||
Re-exports [Transform](../classes/internal-8.Transform.md)
|
||||
|
||||
___
|
||||
|
||||
### TransformCallback
|
||||
|
||||
Re-exports [TransformCallback](internal-8.md#transformcallback)
|
||||
|
||||
___
|
||||
|
||||
### TransformOptions
|
||||
|
||||
Re-exports [TransformOptions](../interfaces/internal-8.TransformOptions.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### PipelineCallback
|
||||
|
||||
Ƭ **PipelineCallback**<`S`\>: `S` extends [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, infer P\> ? (`err`: [`ErrnoException`](../interfaces/internal-8.ErrnoException.md) \| ``null``, `value`: `P`) => `void` : (`err`: [`ErrnoException`](../interfaces/internal-8.ErrnoException.md) \| ``null``) => `void`
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `S` | extends [`PipelineDestination`](internal-8.internal-2.md#pipelinedestination)<`any`, `any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1243
|
||||
|
||||
___
|
||||
|
||||
### PipelineDestination
|
||||
|
||||
Ƭ **PipelineDestination**<`S`, `P`\>: `S` extends [`PipelineTransformSource`](internal-8.internal-2.md#pipelinetransformsource)<infer ST\> ? [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`ST`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`ST`, `P`\> : `never`
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `S` | extends [`PipelineTransformSource`](internal-8.internal-2.md#pipelinetransformsource)<`any`\> |
|
||||
| `P` | `P` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1240
|
||||
|
||||
___
|
||||
|
||||
### PipelineDestinationIterableFunction
|
||||
|
||||
Ƭ **PipelineDestinationIterableFunction**<`T`\>: (`source`: [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\>) => [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`any`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Type declaration
|
||||
|
||||
▸ (`source`): [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`any`\>
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
[`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`any`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1238
|
||||
|
||||
___
|
||||
|
||||
### PipelineDestinationPromiseFunction
|
||||
|
||||
Ƭ **PipelineDestinationPromiseFunction**<`T`, `P`\>: (`source`: [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\>) => `Promise`<`P`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
| `P` |
|
||||
|
||||
#### Type declaration
|
||||
|
||||
▸ (`source`): `Promise`<`P`\>
|
||||
|
||||
##### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\> |
|
||||
|
||||
##### Returns
|
||||
|
||||
`Promise`<`P`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1239
|
||||
|
||||
___
|
||||
|
||||
### PipelinePromise
|
||||
|
||||
Ƭ **PipelinePromise**<`S`\>: `S` extends [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, infer P\> ? `Promise`<`P`\> : `Promise`<`void`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `S` | extends [`PipelineDestination`](internal-8.internal-2.md#pipelinedestination)<`any`, `any`\> |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1246
|
||||
|
||||
___
|
||||
|
||||
### PipelineSource
|
||||
|
||||
Ƭ **PipelineSource**<`T`\>: [`Iterable`](../interfaces/internal-8.Iterable.md)<`T`\> \| [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\> \| [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`PipelineSourceFunction`](internal-8.internal-2.md#pipelinesourcefunction)<`T`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1233
|
||||
|
||||
___
|
||||
|
||||
### PipelineSourceFunction
|
||||
|
||||
Ƭ **PipelineSourceFunction**<`T`\>: () => [`Iterable`](../interfaces/internal-8.Iterable.md)<`T`\> \| [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Type declaration
|
||||
|
||||
▸ (): [`Iterable`](../interfaces/internal-8.Iterable.md)<`T`\> \| [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\>
|
||||
|
||||
##### Returns
|
||||
|
||||
[`Iterable`](../interfaces/internal-8.Iterable.md)<`T`\> \| [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`T`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1232
|
||||
|
||||
___
|
||||
|
||||
### PipelineTransform
|
||||
|
||||
Ƭ **PipelineTransform**<`S`, `U`\>: [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) \| (`source`: `S` extends (...`args`: `any`[]) => [`Iterable`](../interfaces/internal-8.Iterable.md)<infer ST\> \| [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<infer ST\> ? [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`ST`\> : `S`) => [`AsyncIterable`](../interfaces/internal-8.AsyncIterable.md)<`U`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `S` | extends [`PipelineTransformSource`](internal-8.internal-2.md#pipelinetransformsource)<`any`\> |
|
||||
| `U` | `U` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1234
|
||||
|
||||
___
|
||||
|
||||
### PipelineTransformSource
|
||||
|
||||
Ƭ **PipelineTransformSource**<`T`\>: [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`T`\> \| [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`any`, `T`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name |
|
||||
| :------ |
|
||||
| `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1237
|
||||
|
||||
## Variables
|
||||
|
||||
### consumers
|
||||
|
||||
• `Const` **consumers**: typeof [`internal`](internal-8.internal-4.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1414
|
||||
|
||||
___
|
||||
|
||||
### promises
|
||||
|
||||
• `Const` **promises**: typeof [`internal`](internal-8.internal-3.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1413
|
||||
|
||||
## Functions
|
||||
|
||||
### addAbortSignal
|
||||
|
||||
▸ **addAbortSignal**<`T`\>(`signal`, `stream`): `T`
|
||||
|
||||
A stream to attach a signal to.
|
||||
|
||||
Attaches an AbortSignal to a readable or writeable stream. This lets code
|
||||
control stream destruction using an `AbortController`.
|
||||
|
||||
Calling `abort` on the `AbortController` corresponding to the passed`AbortSignal` will behave the same way as calling `.destroy(new AbortError())`on the stream, and `controller.error(new
|
||||
AbortError())` for webstreams.
|
||||
|
||||
```js
|
||||
const fs = require('node:fs');
|
||||
|
||||
const controller = new AbortController();
|
||||
const read = addAbortSignal(
|
||||
controller.signal,
|
||||
fs.createReadStream(('object.json')),
|
||||
);
|
||||
// Later, abort the operation closing the stream
|
||||
controller.abort();
|
||||
```
|
||||
|
||||
Or using an `AbortSignal` with a readable stream as an async iterable:
|
||||
|
||||
```js
|
||||
const controller = new AbortController();
|
||||
setTimeout(() => controller.abort(), 10_000); // set a timeout
|
||||
const stream = addAbortSignal(
|
||||
controller.signal,
|
||||
fs.createReadStream(('object.json')),
|
||||
);
|
||||
(async () => {
|
||||
try {
|
||||
for await (const chunk of stream) {
|
||||
await process(chunk);
|
||||
}
|
||||
} catch (e) {
|
||||
if (e.name === 'AbortError') {
|
||||
// The operation was cancelled
|
||||
} else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
})();
|
||||
```
|
||||
|
||||
Or using an `AbortSignal` with a ReadableStream:
|
||||
|
||||
```js
|
||||
const controller = new AbortController();
|
||||
const rs = new ReadableStream({
|
||||
start(controller) {
|
||||
controller.enqueue('hello');
|
||||
controller.enqueue('world');
|
||||
controller.close();
|
||||
},
|
||||
});
|
||||
|
||||
addAbortSignal(controller.signal, rs);
|
||||
|
||||
finished(rs, (err) => {
|
||||
if (err) {
|
||||
if (err.name === 'AbortError') {
|
||||
// The operation was cancelled
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
const reader = rs.getReader();
|
||||
|
||||
reader.read().then(({ value, done }) => {
|
||||
console.log(value); // hello
|
||||
console.log(done); // false
|
||||
controller.abort();
|
||||
});
|
||||
```
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `T` | extends [`Stream`](../classes/internal-8.Stream.md) |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type | Description |
|
||||
| :------ | :------ | :------ |
|
||||
| `signal` | `AbortSignal` | A signal representing possible cancellation |
|
||||
| `stream` | `T` | a stream to attach a signal to |
|
||||
|
||||
#### Returns
|
||||
|
||||
`T`
|
||||
|
||||
**`Since`**
|
||||
|
||||
v15.4.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1162
|
||||
|
||||
___
|
||||
|
||||
### finished
|
||||
|
||||
▸ **finished**(`stream`, `options`, `callback`): () => `void`
|
||||
|
||||
A readable and/or writable stream/webstream.
|
||||
|
||||
A function to get notified when a stream is no longer readable, writable
|
||||
or has experienced an error or a premature close event.
|
||||
|
||||
```js
|
||||
const { finished } = require('node:stream');
|
||||
const fs = require('node:fs');
|
||||
|
||||
const rs = fs.createReadStream('archive.tar');
|
||||
|
||||
finished(rs, (err) => {
|
||||
if (err) {
|
||||
console.error('Stream failed.', err);
|
||||
} else {
|
||||
console.log('Stream is done reading.');
|
||||
}
|
||||
});
|
||||
|
||||
rs.resume(); // Drain the stream.
|
||||
```
|
||||
|
||||
Especially useful in error handling scenarios where a stream is destroyed
|
||||
prematurely (like an aborted HTTP request), and will not emit `'end'`or `'finish'`.
|
||||
|
||||
The `finished` API provides `promise version`.
|
||||
|
||||
`stream.finished()` leaves dangling event listeners (in particular`'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
|
||||
invoked. The reason for this is so that unexpected `'error'` events (due to
|
||||
incorrect stream implementations) do not cause unexpected crashes.
|
||||
If this is unwanted behavior then the returned cleanup function needs to be
|
||||
invoked in the callback:
|
||||
|
||||
```js
|
||||
const cleanup = finished(rs, (err) => {
|
||||
cleanup();
|
||||
// ...
|
||||
});
|
||||
```
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type | Description |
|
||||
| :------ | :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) | A readable and/or writable stream. |
|
||||
| `options` | [`FinishedOptions`](../interfaces/internal-8.internal-2.FinishedOptions.md) | - |
|
||||
| `callback` | (`err?`: ``null`` \| [`ErrnoException`](../interfaces/internal-8.ErrnoException.md)) => `void` | A callback function that takes an optional error argument. |
|
||||
|
||||
#### Returns
|
||||
|
||||
`fn`
|
||||
|
||||
A cleanup function which removes all registered listeners.
|
||||
|
||||
▸ (): `void`
|
||||
|
||||
##### Returns
|
||||
|
||||
`void`
|
||||
|
||||
**`Since`**
|
||||
|
||||
v10.0.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1227
|
||||
|
||||
▸ **finished**(`stream`, `callback`): () => `void`
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) |
|
||||
| `callback` | (`err?`: ``null`` \| [`ErrnoException`](../interfaces/internal-8.ErrnoException.md)) => `void` |
|
||||
|
||||
#### Returns
|
||||
|
||||
`fn`
|
||||
|
||||
▸ (): `void`
|
||||
|
||||
##### Returns
|
||||
|
||||
`void`
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1228
|
||||
|
||||
___
|
||||
|
||||
### getDefaultHighWaterMark
|
||||
|
||||
▸ **getDefaultHighWaterMark**(`objectMode`): `number`
|
||||
|
||||
Returns the default highWaterMark used by streams.
|
||||
Defaults to `16384` (16 KiB), or `16` for `objectMode`.
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `objectMode` | `boolean` |
|
||||
|
||||
#### Returns
|
||||
|
||||
`number`
|
||||
|
||||
**`Since`**
|
||||
|
||||
v19.9.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1169
|
||||
|
||||
___
|
||||
|
||||
### isErrored
|
||||
|
||||
▸ **isErrored**(`stream`): `boolean`
|
||||
|
||||
Returns whether the stream has encountered an error.
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) \| [`Writable`](../classes/internal-8.internal-2.Writable.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
`boolean`
|
||||
|
||||
**`Since`**
|
||||
|
||||
v17.3.0, v16.14.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1406
|
||||
|
||||
___
|
||||
|
||||
### isReadable
|
||||
|
||||
▸ **isReadable**(`stream`): `boolean`
|
||||
|
||||
Returns whether the stream is readable.
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
`boolean`
|
||||
|
||||
**`Since`**
|
||||
|
||||
v17.4.0, v16.14.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1412
|
||||
|
||||
___
|
||||
|
||||
### pipeline
|
||||
|
||||
▸ **pipeline**<`A`, `B`\>(`source`, `destination`, `callback?`): `B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
A module method to pipe between streams and generators forwarding errors and
|
||||
properly cleaning up and provide a callback when the pipeline is complete.
|
||||
|
||||
```js
|
||||
const { pipeline } = require('node:stream');
|
||||
const fs = require('node:fs');
|
||||
const zlib = require('node:zlib');
|
||||
|
||||
// Use the pipeline API to easily pipe a series of streams
|
||||
// together and get notified when the pipeline is fully done.
|
||||
|
||||
// A pipeline to gzip a potentially huge tar file efficiently:
|
||||
|
||||
pipeline(
|
||||
fs.createReadStream('archive.tar'),
|
||||
zlib.createGzip(),
|
||||
fs.createWriteStream('archive.tar.gz'),
|
||||
(err) => {
|
||||
if (err) {
|
||||
console.error('Pipeline failed.', err);
|
||||
} else {
|
||||
console.log('Pipeline succeeded.');
|
||||
}
|
||||
},
|
||||
);
|
||||
```
|
||||
|
||||
The `pipeline` API provides a `promise version`.
|
||||
|
||||
`stream.pipeline()` will call `stream.destroy(err)` on all streams except:
|
||||
|
||||
* `Readable` streams which have emitted `'end'` or `'close'`.
|
||||
* `Writable` streams which have emitted `'finish'` or `'close'`.
|
||||
|
||||
`stream.pipeline()` leaves dangling event listeners on the streams
|
||||
after the `callback` has been invoked. In the case of reuse of streams after
|
||||
failure, this can cause event listener leaks and swallowed errors. If the last
|
||||
stream is readable, dangling event listeners will be removed so that the last
|
||||
stream can be consumed later.
|
||||
|
||||
`stream.pipeline()` closes all the streams when an error is raised.
|
||||
The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior
|
||||
once it would destroy the socket without sending the expected response.
|
||||
See the example below:
|
||||
|
||||
```js
|
||||
const fs = require('node:fs');
|
||||
const http = require('node:http');
|
||||
const { pipeline } = require('node:stream');
|
||||
|
||||
const server = http.createServer((req, res) => {
|
||||
const fileStream = fs.createReadStream('./fileNotExist.txt');
|
||||
pipeline(fileStream, res, (err) => {
|
||||
if (err) {
|
||||
console.log(err); // No such file
|
||||
// this message can't be sent once `pipeline` already destroyed the socket
|
||||
return res.end('error!!!');
|
||||
}
|
||||
});
|
||||
});
|
||||
```
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type | Description |
|
||||
| :------ | :------ | :------ |
|
||||
| `source` | `A` | - |
|
||||
| `destination` | `B` | - |
|
||||
| `callback?` | [`PipelineCallback`](internal-8.internal-2.md#pipelinecallback)<`B`\> | Called when the pipeline is fully done. |
|
||||
|
||||
#### Returns
|
||||
|
||||
`B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
**`Since`**
|
||||
|
||||
v10.0.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1316
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `B`\>(`source`, `transform1`, `destination`, `callback?`): `B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `destination` | `B` |
|
||||
| `callback?` | [`PipelineCallback`](internal-8.internal-2.md#pipelinecallback)<`B`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1321
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `T2`, `B`\>(`source`, `transform1`, `transform2`, `destination`, `callback?`): `B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `destination` | `B` |
|
||||
| `callback?` | [`PipelineCallback`](internal-8.internal-2.md#pipelinecallback)<`B`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1327
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `T2`, `T3`, `B`\>(`source`, `transform1`, `transform2`, `transform3`, `destination`, `callback?`): `B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `T3` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T2`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `transform3` | `T3` |
|
||||
| `destination` | `B` |
|
||||
| `callback?` | [`PipelineCallback`](internal-8.internal-2.md#pipelinecallback)<`B`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1334
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `T2`, `T3`, `T4`, `B`\>(`source`, `transform1`, `transform2`, `transform3`, `transform4`, `destination`, `callback?`): `B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `T3` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T2`, `any`\> |
|
||||
| `T4` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T3`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `transform3` | `T3` |
|
||||
| `transform4` | `T4` |
|
||||
| `destination` | `B` |
|
||||
| `callback?` | [`PipelineCallback`](internal-8.internal-2.md#pipelinecallback)<`B`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`B` extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) ? `B` : [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1341
|
||||
|
||||
▸ **pipeline**(`streams`, `callback?`): [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `streams` | readonly ([`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md))[] |
|
||||
| `callback?` | (`err`: ``null`` \| [`ErrnoException`](../interfaces/internal-8.ErrnoException.md)) => `void` |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1349
|
||||
|
||||
▸ **pipeline**(`stream1`, `stream2`, `...streams`): [`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream1` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) |
|
||||
| `stream2` | [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) |
|
||||
| `...streams` | ([`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) \| (`err`: ``null`` \| [`ErrnoException`](../interfaces/internal-8.ErrnoException.md)) => `void`)[] |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`WritableStream`](../interfaces/internal-8.WritableStream.md)
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1353
|
||||
|
||||
___
|
||||
|
||||
### setDefaultHighWaterMark
|
||||
|
||||
▸ **setDefaultHighWaterMark**(`objectMode`, `value`): `void`
|
||||
|
||||
Sets the default highWaterMark used by streams.
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type | Description |
|
||||
| :------ | :------ | :------ |
|
||||
| `objectMode` | `boolean` | |
|
||||
| `value` | `number` | highWaterMark value |
|
||||
|
||||
#### Returns
|
||||
|
||||
`void`
|
||||
|
||||
**`Since`**
|
||||
|
||||
v19.9.0
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1176
|
||||
@@ -1,191 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: pipeline
|
||||
|
||||
[internal](internal-8.md).[internal](internal-8.internal-2.md).pipeline
|
||||
|
||||
## Functions
|
||||
|
||||
### \_\_promisify\_\_
|
||||
|
||||
▸ **__promisify__**<`A`, `B`\>(`source`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1359
|
||||
|
||||
▸ **__promisify__**<`A`, `T1`, `B`\>(`source`, `transform1`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1360
|
||||
|
||||
▸ **__promisify__**<`A`, `T1`, `T2`, `B`\>(`source`, `transform1`, `transform2`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1366
|
||||
|
||||
▸ **__promisify__**<`A`, `T1`, `T2`, `T3`, `B`\>(`source`, `transform1`, `transform2`, `transform3`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `T3` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T2`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `transform3` | `T3` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1373
|
||||
|
||||
▸ **__promisify__**<`A`, `T1`, `T2`, `T3`, `T4`, `B`\>(`source`, `transform1`, `transform2`, `transform3`, `transform4`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `T3` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T2`, `any`\> |
|
||||
| `T4` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T3`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `transform3` | `T3` |
|
||||
| `transform4` | `T4` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1380
|
||||
|
||||
▸ **__promisify__**(`streams`, `options?`): `Promise`<`void`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `streams` | readonly ([`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md))[] |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1388
|
||||
|
||||
▸ **__promisify__**(`stream1`, `stream2`, `...streams`): `Promise`<`void`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream1` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) |
|
||||
| `stream2` | [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) |
|
||||
| `...streams` | ([`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) \| [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md))[] |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream.d.ts:1389
|
||||
@@ -1,212 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: internal
|
||||
|
||||
[internal](internal-8.md).internal
|
||||
|
||||
## Functions
|
||||
|
||||
### finished
|
||||
|
||||
▸ **finished**(`stream`, `options?`): `Promise`<`void`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) |
|
||||
| `options?` | [`FinishedOptions`](../interfaces/internal-8.internal-2.FinishedOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:3
|
||||
|
||||
___
|
||||
|
||||
### pipeline
|
||||
|
||||
▸ **pipeline**<`A`, `B`\>(`source`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:4
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `B`\>(`source`, `transform1`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:5
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `T2`, `B`\>(`source`, `transform1`, `transform2`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:11
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `T2`, `T3`, `B`\>(`source`, `transform1`, `transform2`, `transform3`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `T3` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T2`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `transform3` | `T3` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:18
|
||||
|
||||
▸ **pipeline**<`A`, `T1`, `T2`, `T3`, `T4`, `B`\>(`source`, `transform1`, `transform2`, `transform3`, `transform4`, `destination`, `options?`): [`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `A` | extends [`PipelineSource`](internal-8.internal-2.md#pipelinesource)<`any`\> |
|
||||
| `T1` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`A`, `any`\> |
|
||||
| `T2` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T1`, `any`\> |
|
||||
| `T3` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T2`, `any`\> |
|
||||
| `T4` | extends [`PipelineTransform`](internal-8.internal-2.md#pipelinetransform)<`T3`, `any`\> |
|
||||
| `B` | extends [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`string` \| [`Buffer`](internal-8.md#buffer)\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`string` \| [`Buffer`](internal-8.md#buffer), `any`\> \| [`PipelineDestinationIterableFunction`](internal-8.internal-2.md#pipelinedestinationiterablefunction)<`any`\> \| [`PipelineDestinationPromiseFunction`](internal-8.internal-2.md#pipelinedestinationpromisefunction)<`any`, `any`\> |
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `source` | `A` |
|
||||
| `transform1` | `T1` |
|
||||
| `transform2` | `T2` |
|
||||
| `transform3` | `T3` |
|
||||
| `transform4` | `T4` |
|
||||
| `destination` | `B` |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
[`PipelinePromise`](internal-8.internal-2.md#pipelinepromise)<`B`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:25
|
||||
|
||||
▸ **pipeline**(`streams`, `options?`): `Promise`<`void`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `streams` | readonly ([`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md))[] |
|
||||
| `options?` | [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md) |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:33
|
||||
|
||||
▸ **pipeline**(`stream1`, `stream2`, `...streams`): `Promise`<`void`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream1` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) |
|
||||
| `stream2` | [`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) |
|
||||
| `...streams` | ([`WritableStream`](../interfaces/internal-8.WritableStream.md) \| [`ReadWriteStream`](../interfaces/internal-8.ReadWriteStream.md) \| [`PipelineOptions`](../interfaces/internal-8.internal-2.PipelineOptions.md))[] |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`void`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/promises.d.ts:34
|
||||
@@ -1,107 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Namespace: internal
|
||||
|
||||
[internal](internal-8.md).internal
|
||||
|
||||
## Functions
|
||||
|
||||
### arrayBuffer
|
||||
|
||||
▸ **arrayBuffer**(`stream`): `Promise`<`ArrayBuffer`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) \| [`AsyncIterator`](../interfaces/internal-8.AsyncIterator.md)<`any`, `any`, `undefined`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`ArrayBuffer`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/consumers.d.ts:6
|
||||
|
||||
___
|
||||
|
||||
### blob
|
||||
|
||||
▸ **blob**(`stream`): `Promise`<[`Blob`](../classes/internal-8.Blob.md)\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) \| [`AsyncIterator`](../interfaces/internal-8.AsyncIterator.md)<`any`, `any`, `undefined`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`Blob`](../classes/internal-8.Blob.md)\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/consumers.d.ts:7
|
||||
|
||||
___
|
||||
|
||||
### buffer
|
||||
|
||||
▸ **buffer**(`stream`): `Promise`<[`Buffer`](internal-8.md#buffer)\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) \| [`AsyncIterator`](../interfaces/internal-8.AsyncIterator.md)<`any`, `any`, `undefined`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<[`Buffer`](internal-8.md#buffer)\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/consumers.d.ts:4
|
||||
|
||||
___
|
||||
|
||||
### json
|
||||
|
||||
▸ **json**(`stream`): `Promise`<`unknown`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) \| [`AsyncIterator`](../interfaces/internal-8.AsyncIterator.md)<`any`, `any`, `undefined`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`unknown`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/consumers.d.ts:8
|
||||
|
||||
___
|
||||
|
||||
### text
|
||||
|
||||
▸ **text**(`stream`): `Promise`<`string`\>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `stream` | [`ReadableStream`](../interfaces/internal-8.ReadableStream.md) \| [`Readable`](../classes/internal-8.Readable.md) \| [`AsyncIterator`](../interfaces/internal-8.AsyncIterator.md)<`any`, `any`, `undefined`\> |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Promise`<`string`\>
|
||||
|
||||
#### Defined in
|
||||
|
||||
packages/medusa-js/node_modules/@types/node/stream/consumers.d.ts:5
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,25 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### AdminPostInvitesPayload
|
||||
|
||||
Ƭ **AdminPostInvitesPayload**: [`Omit`](internal-1.md#omit)<[`AdminPostInvitesReq`](../classes/internal-8.internal.AdminPostInvitesReq.md), ``"role"``\> & { `role`: [`InviteUserRolesEnum`](internal-9.md#inviteuserrolesenum) }
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:47](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L47)
|
||||
|
||||
___
|
||||
|
||||
### InviteUserRolesEnum
|
||||
|
||||
Ƭ **InviteUserRolesEnum**: \`${AdminPostInvitesReq["role"]}\`
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/medusa-js/src/typings.ts:45](https://github.com/medusajs/medusa/blob/c4ac5e6959/packages/medusa-js/src/typings.ts#L45)
|
||||
@@ -1,31 +0,0 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
# Module: internal
|
||||
|
||||
## Classes
|
||||
|
||||
- [AddressCreatePayload](../classes/internal.AddressCreatePayload.md)
|
||||
- [AddressPayload](../classes/internal.AddressPayload.md)
|
||||
- [StorePostCustomersCustomerAddressesAddressReq](../classes/internal.StorePostCustomersCustomerAddressesAddressReq.md)
|
||||
- [StorePostCustomersCustomerAddressesReq](../classes/internal.StorePostCustomersCustomerAddressesReq.md)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
### Record
|
||||
|
||||
Ƭ **Record**<`K`, `T`\>: { [P in K]: T }
|
||||
|
||||
Construct a type with a set of properties K of type T
|
||||
|
||||
#### Type parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------ | :------ |
|
||||
| `K` | extends keyof `any` |
|
||||
| `T` | `T` |
|
||||
|
||||
#### Defined in
|
||||
|
||||
docs-util/node_modules/typescript/lib/lib.es5.d.ts:1599
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# line-items
|
||||
|
||||
## Classes
|
||||
|
||||
- [LineItemsResource](../line_items/classes/line_items.LineItemsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# order-edits
|
||||
|
||||
## Classes
|
||||
|
||||
- [OrderEditsResource](../order_edits/classes/order_edits.OrderEditsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# orders
|
||||
|
||||
## Classes
|
||||
|
||||
- [OrdersResource](../orders/classes/orders.OrdersResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# payment-collections
|
||||
|
||||
## Classes
|
||||
|
||||
- [PaymentCollectionsResource](../payment_collections/classes/payment_collections.PaymentCollectionsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# payment-methods
|
||||
|
||||
## Classes
|
||||
|
||||
- [PaymentMethodsResource](../payment_methods/classes/payment_methods.PaymentMethodsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# product-categories
|
||||
|
||||
## Classes
|
||||
|
||||
- [ProductCategoriesResource](../product_categories/classes/product_categories.ProductCategoriesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# product-tags
|
||||
|
||||
## Classes
|
||||
|
||||
- [ProductTagsResource](../product_tags/classes/product_tags.ProductTagsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# product-types
|
||||
|
||||
## Classes
|
||||
|
||||
- [ProductTypesResource](../product_types/classes/product_types.ProductTypesResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# product-variants
|
||||
|
||||
## Classes
|
||||
|
||||
- [ProductVariantsResource](../product_variants/classes/product_variants.ProductVariantsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# products
|
||||
|
||||
## Classes
|
||||
|
||||
- [ProductsResource](../products/classes/products.ProductsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# regions
|
||||
|
||||
## Classes
|
||||
|
||||
- [RegionsResource](../regions/classes/regions.RegionsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# return-reasons
|
||||
|
||||
## Classes
|
||||
|
||||
- [ReturnReasonsResource](../return_reasons/classes/return_reasons.ReturnReasonsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# returns
|
||||
|
||||
## Classes
|
||||
|
||||
- [ReturnsResource](../returns/classes/returns.ReturnsResource.mdx)
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# shipping-options
|
||||
|
||||
## Classes
|
||||
|
||||
- [ShippingOptionsResource](../shipping_options/classes/shipping_options.ShippingOptionsResource.mdx)
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
displayed_sidebar: jsClientSidebar
|
||||
---
|
||||
|
||||
import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
|
||||
# swaps
|
||||
|
||||
## Modules
|
||||
|
||||
- [internal](../swaps/modules/swaps.internal.mdx)
|
||||
|
||||
## Classes
|
||||
|
||||
- [SwapsResource](../swaps/classes/swaps.SwapsResource.mdx)
|
||||
Reference in New Issue
Block a user